User monitoring system

ABSTRACT

A user monitoring device system includes a user monitoring device with one or more microphones, a transmitter and sensors to determine light, sound temperature and humidity near the user, the transmitter serving as a communication system. A motion detection apparatus detects a user&#39;s movement information. The motion detection apparatus and the monitoring system assist to determine at least one of: user sleep information and sleep behavior information, or user respiration information. A cloud based system is in communication with the monitoring device and the motion detection apparatus. The cloud based system includes a user database.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the priority benefit of all of the following:This application also is related to and claims the benefit of which is aContinuation-in-Part of U.S. patent application Ser. No. 15/276,788,filed on Sep. 26, 2016, which is continuation in part of U.S. patentapplication Ser. No. 15/276,772, filed on Sep. 26, 2016, which iscontinuation in part of U.S. patent application Ser. No. 15/242,545,filed on Aug. 21, 2016, which is a Continuation of U.S. patentapplication Ser. No. 15/242,543, filed on Aug. 21, 2016, which is aContinuation of U.S. patent application Ser. No. 15/242,542, filed onAug. 21, 2016, which is a Continuation of U.S. patent application Ser.No. 15/242,541, filed on Aug. 21, 2016, which is a Continuation of U.S.patent application Ser. No. 15/242,540, filed on Aug. 21, 2016, which isa Continuation of U.S. patent application Ser. No. 15/218,082, filed onJul. 25, 2016, which is a Continuation of U.S. patent application Ser.No. 15/218,080, filed on Jul. 25, 2016, which is a Continuation of U.S.patent application Ser. No. 15/201,589, filed on Jul. 4, 2016, which isa Continuation of U.S. patent application Ser. No. 15/195,016, filed onJun. 28, 2016, which is a Continuation-in-Part of U.S. patentapplication Ser. No. 15/180,026, filed on Jun. 12, 2016, which is aContinuation of U.S. patent application Ser. No. 15/177,324, filed onJun. 8, 2016, which is a Continuation of U.S. patent application Ser.No. 15/133,921, filed Apr. 20, 2016, which is a Continuation of U.S.patent application Ser. No. 15/131,330, filed Apr. 18, 2016, which is aContinuation of U.S. patent application Ser. No. 15/098,070, filed Apr.13, 2016, which is a Continuation of U.S. patent application Ser. No.15/097,840, filed Apr. 13, 2016, which is a Continuation-in-Part of U.S.patent application Ser. No. 15/058,986, filed Mar. 2, 2016, which is aContinuation-in-Part of U.S. patent application Ser. No. 15/058,869,filed Mar. 2, 2016, which is a Continuation-in-Part of U.S. patentapplication Ser. No. 15/058,809, filed Mar. 2, 2016, which is aContinuation-in-Part of U.S. patent application Ser. No. 15/058,728,filed Mar. 2, 2016, which is a Continuation-in-Part of U.S. patentapplication Ser. No. 14/729,608, filed Jun. 6, 2015, which is aContinuation-in-Part of U.S. patent application Ser. No. 14/725,973,filed May 29, 2015, which is a U.S. Provisional Patent Application No.62/118,384, filed Feb. 19, 2015, which is a Continuation of U.S.application Ser. No. 14/604,569, filed Jan. 23, 2015, which is aContinuation-in-Part of U.S. application Ser. No. 14/604,566, filed Jan.23, 2015, which is a Continuation of U.S. application Ser. No.14/588,853, filed Jan. 2, 2015, which is a Continuation-in-Part of U.S.application Ser. No. 14/588,848, filed Jan. 2, 2015, which is aContinuation of U.S. application Ser. No. 14/495,656, filed Sep. 24,2014, which is a Continuation-in-Part of U.S. application Ser. No.14/495,332, filed Sep. 24, 2014, now U.S. Pat. No. 9,320,435, issuedApr. 26, 2016 which is a U.S. Provisional Patent Application No.62/027,885, filed Jul. 23, 2014, which is a Continuation-in-Part of U.S.application Ser. No. 14/180,152, filed Feb. 13, 2014, which is aContinuation-in-Part of U.S. application Ser. No. 14/180,109, filed Feb.13, 2014, which is a Continuation of U.S. application Ser. No.14/052,376, filed Oct. 11, 2013, which is a Continuation of U.S.application Ser. No. 14/051,093, filed Oct. 10, 2013, which is aContinuation of U.S. application Ser. No. 14/049,822, filed Oct. 9,2013, which is a Continuation of U.S. application Ser. No. 14/049,690,filed Oct. 9, 2013, which is a Continuation-in-Part of U.S. applicationSer. No. 14/048,731, filed Oct. 8, 2013, which is a Continuation of U.S.application Ser. No. 14/039,802, filed Sep. 27, 2013, which is aContinuation of U.S. patent application Ser. No. 14/039,145, filed Sep.27, 2013, which is a Continuation-in-Part of U.S. application Ser. No.14/038,990, filed Sep. 27, 2013, which is a Continuation of U.S.application Ser. No. 14/037,974, filed Sep. 26, 2013, now abandoned,which is a Continuation of U.S. application Ser. No. 14/037,870, filedSep. 26, 2013, which is a Continuation of U.S. application Ser. No.14/037,825, filed Sep. 26, 2013, which is a Continuation of U.S.application Ser. No. 14/037,747, filed Sep. 26, 2013, which is aContinuation of U.S. application Ser. No. 14/037,717, filed Sep. 26,2013, now U.S. Pat. No. 9,055,791, issued Jun. 16, 2015, which is aContinuation of U.S. application Ser. No. 14/037,643, filed Sep. 26,2013, which is a Continuation of U.S. application Ser. No. 14/037,594,filed Sep. 26, 2013, which is a Continuation-in-Part of U.S. applicationSer. No. 14/037,536, filed Sep. 26, 2013, which is a Continuation ofU.S. application Ser. No. 14/036,382, filed Sep. 25, 2013, which is aContinuation of U.S. application Ser. No. 14/036,287, filed Sep. 25,2013, which is a Continuation-in-Part of U.S. application Ser. No.14/036,111, filed Sep. 25, 2013, which is a Continuation-in-Part of U.S.application Ser. No. 14/023,876, filed Sep. 11, 2013, now U.S. Pat. No.9,159,223, issued Oct. 13, 2015, which is a Continuation of U.S.application Ser. No. 13/966,641, filed Aug. 14, 2013, which is aContinuation of U.S. application Ser. No. 13/966,623, filed Aug. 14,2013, which is a Continuation of U.S. application Ser. No. 13/967,120,filed Aug. 14, 2013, which is Continuation of U.S. application Ser. No.13/967,109, filed Aug. 14, 2013, which is a Continuation-in-Part of U.S.application Ser. No. 13/967,094, filed Aug. 14, 2013, which is aContinuation-in-Part of U.S. application Ser. No. 13/961,599, filed Aug.7, 2013, now U.S. Pat. No. 9,149,189, issued Oct. 6, 2015, which is aContinuation-in-Part of U.S. application Ser. No. 13/961,511, filed Aug.7, 2013, now U.S. Pat. No. 9,204,798, issued Dec. 8, 2015, which is aContinuation-in-Part of U.S. application Ser. No. 13/960,491, filed Aug.6, 2013, which is a Continuation-in-Part of U.S. application Ser. No.13/960,451, filed Aug. 6, 2013, which is a Continuation-in-Part of U.S.application Ser. No. 13/960,436, filed Aug. 6, 2013, which is aContinuation-in-Part of U.S. application Ser. No. 13/960,407, filed Aug.6, 2013, which is a Continuation-in-Part of U.S. application Ser. No.13/960,075, filed Aug. 6, 2013, which is a Continuation-in-Part of U.S.application Ser. No. 13/959,085, filed Aug. 5, 2013, which is aContinuation-in-Part of U.S. application Ser. No. 13/959,022, filed Aug.5, 2013, which is a Continuation of U.S. application Ser. No.13/956,815, filed Aug. 1, 2013, now U.S. Pat. No. 9,298,882, issued Mar.29, 2016, which is a Continuation of U.S. application Ser. No.13/956,674, filed Aug. 1, 2013, which is a Continuation-in-Part of U.S.application Ser. No. 13/956,564, filed Aug. 1, 2013, which is aContinuation of U.S. application Ser. No. 13/955,892, filed Jul. 31,2013, which is a Continuation of U.S. application Ser. No. 13/955,845,filed Jul. 31, 2013, which is a Continuation of U.S. application Ser.No. 13/955,810, filed Jul. 31, 2013, now U.S. Pat. No. 9,320,434, issuedApr. 26, 2016, which is a Continuation-in-Part of U.S. application Ser.No. 13/955,777, filed Jul. 31, 2013, which is a Continuation of U.S.application Ser. No. 13/923,937, filed Jun. 21, 2013, which is aContinuation of U.S. patent application Ser. No. 13/923,909, filed Jun.21, 2013, which is a Continuation of U.S. application Ser. No.13/923,809, filed Jun. 21, 2013, which is a Continuation of U.S.application Ser. No. 13/923,750, filed Jun. 21, 2013, which is aContinuation of U.S. application Ser. No. 13/923,637, filed Jun. 21,2013, now U.S. Pat. No. 8,810,430, issued on Aug. 19, 2014, which is aContinuation of U.S. patent application Ser. No. 13/923,614, filed Jun.21, 2013, now U.S. Pat. No. 8,850,421, issued on Sep. 30, 2014, which isa Continuation of U.S. application Ser. No. 13/923,560, filed Jun. 21,2013, now U.S. Pat. No. 8,803,366, issued Aug. 12, 2014, which is aContinuation of U.S. application Ser. No. 13/923,543, filed Jun. 21,2013. All of the above applications are fully incorporated herein byreference.

BACKGROUND Field of the Invention

The present invention relates generally to monitoring systems, and moreparticularly to monitoring systems that include a plurality of sensors.

Description of the Related Art

Systems have been provided for monitoring physiological parameters ofindividuals such as temperature, blood pressure, heart rate, heartactivity, and the like.

Vital signs of some individual's have been monitored and/or measured ona substantially continuous basis to enable physicians, nurses and otherhealth care providers to detect sudden changes in a patient's conditionand evaluate a patient's condition over an extended period of time.

There is a need for improved monitoring systems.

SUMMARY

An object of the present invention is to provide an improved usermonitoring device system.

Another object of the present invention is to provide a user monitoringsystem that includes a user monitoring device with one or moremicrophones, and sensors to determine light, sound temperature andhumidity near a monitored user.

A further object of the present invention is to provide a usermonitoring system that includes a user monitoring device with one ormore microphones, and sensors to determine light, sound temperature andhumidity near a monitored user as well as a proximity sensor.

A further object of the present invention is to provide a usermonitoring system that includes a user monitoring device with one ormore microphones, and sensors to determine light, sound temperature andhumidity near a monitored user as well as a proximity sensor.

Still another object of the present invention is to provide a usermonitoring system that includes a user monitoring device with one ormore microphones, and sensors to determine light, sound temperature andhumidity near a monitored user, and a barometric pressure sensor.

Another object of the present invention is to provide a user monitoringsystem that includes a user monitoring device with one or moremicrophones, and sensors to determine light, sound temperature andhumidity near a monitored user, as well as a barometric pressure sensorto detect changes in pressure in a vicinity of the monitored user.

A further other object of the present invention is to provide a usermonitoring system that includes a user monitoring device with one ormore microphones, and sensors to determine light, sound temperature andhumidity near a monitored user, as well as a motion detection apparatusat the monitoring device.

Still another object of the present invention is to provide a usermonitoring system that includes a user monitoring device with one ormore microphones, and sensors to determine light, sound temperature andhumidity near a monitored user, as well as a gas sensor at themonitoring device.

These and other objects of the present invention are achieved in a usermonitoring device system that includes a user monitoring device with oneor more microphones, a transmitter and sensors to determine light, soundtemperature and humidity near the user, the transmitter serving as acommunication system. A motion detection apparatus detects a user'smovement information. The motion detection apparatus and the monitoringsystem assist to determine at least one of: user sleep information andsleep behavior information, or user respiration information. A cloudbased system is in communication with the monitoring device and themotion detection apparatus. The cloud based system includes a userdatabase.

In another embodiment of the present invention a user monitoring devicesystem includes a user monitoring device with one or more microphones, atransmitter and sensors to determine light, sound temperature andhumidity near the user, the transmitter serving as a communicationsystem. A motion detection apparatus detects a user's movementinformation. The motion detection apparatus and the monitoring systemassist to determine at least one of: user sleep information and sleepbehavior information, or user respiration information. A cloud basedsystem is in communication with the monitoring device and the motiondetection apparatus. The cloud based system includes a user database. Avoice recognition system is at the cloud based system or at themonitoring device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1(a) is an exploded view of one embodiment of a user monitoringdevice of the present invention.

FIG. 1(b) illustrates one embodiment of a bottom board of the FIG. 1(a)user monitoring device with a temperature and humidity sensor.

FIG. 1(c) illustrates one embodiment of a top board of the FIG. 1(a)user monitoring device with an ambient light sensor, a proximity sensor,a speak module and a microphone.

FIG. 1(d) illustrates one embodiment of a middle board of the FIG. 1(a)user monitoring device.

FIG. 1(e) illustrates the communication between the cloud, client ormobile device, monitoring device 10 and motion detection device 42.

FIG. 2(a) is an exploded view of one embodiment of amotion/movement/gesture detective device of the present invention.

FIGS. 2(b) and 2(c) illustrate front and back surfaces of a board fromthe FIG. 2(a) motion/movement/gesture detection device with a reedswitch and an accelerator.

FIG. 3 is an image of an electronic device that contains an internalaccelerometer.

FIG. 4 illustrates one embodiment of a tap and or shake detectionsystem.

FIG. 5 illustrates another embodiment of a tap and or shake detectionsystem that includes a subtraction circuit.

FIG. 6 illustrates one embodiment of a flow chart that shows a methodfor detecting when a double tap and or shake has occurred.

FIG. 7 is a graph that shows a derivative of acceleration with respectto time and includes thresholds for determining when a tap and or shakehave occurred.

FIG. 8 illustrates one embodiment of a block diagram for a microphonecircuit that can be used.

FIG. 9 is a cross-section view of an NMOS transistor.

FIG. 10 is a block diagram of an embodiment of a switch circuitaccording to the invention.

FIG. 11 is a block diagram of another embodiment of a switch circuitaccording to the invention.

FIG. 12(a) illustrates an embodiment of a control logic that can be usedwith the FIG. 4 embodiment.

FIG. 12(b) is another embodiment of a control logic that can be usedwith the FIG. 4 embodiment.

a. FIG. 13 is a diagram that provides an overview of motion patternclassification and gesture creation and recognition.

FIG. 14 is a block diagram of an exemplary system configured to performoperations of motion pattern classification.

FIG. 15 is a diagram illustrating exemplary operations of dynamicfiltering of motion example data.

FIG. 16 is a diagram illustrating exemplary dynamic time warp techniquesused in distance calculating operations of motion patternclassification.

FIG. 17 is a diagram illustrating exemplary clustering techniques ofmotion pattern classification.

FIG. 18(a)-(c) are diagrams illustrating exemplary techniques ofdetermining a sphere of influence of a motion pattern.

FIG. 19 is a flowchart illustrating an exemplary process of motionpattern classification.

FIG. 20 is a block diagram illustrating an exemplary system configuredto perform operations of gesture creation and recognition.

FIG. 21(a)-(b) are diagrams illustrating exemplary techniques ofmatching motion sensor readings to a motion pattern.

FIG. 22 is a flowchart illustrating an exemplary process ofpattern-based gesture creation and recognition.

FIG. 23 is a block diagram illustrating exemplary device architecture ofa monitoring system implementing the features and operations ofpattern-based gesture creation and recognition.

FIG. 24 is a block diagram of exemplary network operating environmentfor the monitoring systems implementing motion pattern classificationand gesture creation and recognition techniques.

FIG. 25 is a block diagram of exemplary system architecture forimplementing the features and operations of motion patternclassification and gesture creation and recognition.

FIG. 26 illustrates a functional block diagram of a proximity sensor inan embodiment of the invention.

FIG. 27(a) illustrates a schematic diagram of the proximity sensing unitsensing when the LED is active and emits lights under the condition thatno object is close by to the proximity sensor of the electronicapparatus.

FIG. 27(b) illustrates a schematic diagram of the proximity sensing unitsensing when the LED is inactive under the condition that no object isclose by to the proximity sensor of the electronic apparatus.

FIG. 27(c) illustrates a schematic diagram of the proximity sensing unitsensing when the LED is active and emits lights under the condition thatan object is located in the detection range of the proximity sensor.

FIG. 27(d) illustrates a schematic diagram of the proximity sensing unitsensing when the LED is inactive under the condition that an object islocated in the detection range of the proximity sensor.

FIG. 27(e) illustrates a schematic diagram of the proximity sensing unitsensing when the LED is active and emits lights under the condition thatan object is located out of the detection range of the proximity sensor.

FIG. 27(f) illustrates a schematic diagram of the proximity sensing unitsensing when the LED is inactive under the condition that an object islocated out of the detection range of the proximity sensor.

FIG. 28 illustrates a flowchart of the proximity sensor operating methodin another embodiment of the invention.

FIGS. 29(a) and (b) illustrate flowcharts of the proximity sensoroperating method in another embodiment of the invention.

FIG. 30 is a schematic view showing a configuration of a particledetection apparatus of a first embodiment according to the presentinvention.

FIG. 31 is a time chart showing the timing of the operation of the lightemitting-element and the exposure of the image sensor.

FIGS. 32(a) and (b) are views showing schematized image information of abinarized particle image.

FIGS. 33(a) and (b) are views showing temporal changes of a binarizedimage signal.

FIGS. 34(a) and (b) are views showing a modified embodiment of aphotodetector, which indicate particle detection at different times foreach view. Each view shows a positional relation between thephotodetector and the particle at left side and output values at rightside.

FIG. 35 is a schematic view showing a configuration of a particledetection apparatus in one embodiment.

FIG. 36 is a block diagram representative of an embodiment of thepresent invention.

FIG. 37 is a flow chart showing the method for compensated temperaturedetermination in accordance with an embodiment of the invention.

FIGS. 38(a)-(e) illustrate one embodiment of a Cloud Infrastructure thatcan be used with the present invention.

FIGS. 39-41 illustrate one embodiment of a mobile device that can beused with the present invention.

FIG. 42 illustrates one embodiment of a packaging for the motiondetection device.

FIGS. 43 and 44 illustrate one embodiment of the present invention whererecording the movement of the person by the motion detection device isnot always preserved, and is halted in response to the sounds receivedfrom the room where the person is located.

FIG. 45 illustrates one embodiment of a monitoring apparatus of thepresent invention.

FIG. 46 illustrates one embodiment of a voice recognition system foridentifying voice commands.

FIG. 47 shows a data entry system able to perform speech recognition ondata received from remote audio or text entering devices according toone implementation.

FIG. 48 is a schematic diagram of a search server using a speechrecognition system to identify, update and distribute information for adata entry dictionary according to one implementation.

FIG. 49 is a flow chart showing exemplary steps for adding data to aspeech recognition statistical model.

FIG. 50 is a flow chart showing exemplary steps for adding data to apronunciation model.

FIG. 51 depicts a network in accordance with an example embodiment.

FIG. 52A is a block diagram of a computing device in accordance with anexample embodiment.

FIG. 52B depicts a network with computing clusters in accordance with anexample embodiment.

FIG. 53A is a block diagram illustrating features of a user interface,according to an example embodiment.

FIG. 53B is another block diagram illustrating features of a userinterface, according to an example embodiment.

FIG. 54 is flow chart illustrating a method according to an exampleembodiment

DETAILED DESCRIPTION

As used herein, the term engine refers to software, firmware, hardware,or other component that can be used to effectuate a purpose. The enginewill typically include software instructions that are stored innon-volatile memory (also referred to as secondary memory) and aprocessor with instructions to execute the software. When the softwareinstructions are executed, at least a subset of the softwareinstructions can be loaded into memory (also referred to as primarymemory) by a processor. The processor then executes the softwareinstructions in memory. The processor may be a shared processor, adedicated processor, or a combination of shared or dedicated processors.A typical program will include calls to hardware components (such as I/Odevices), which typically requires the execution of drivers. The driversmay or may not be considered part of the engine, but the distinction isnot critical.

As used herein, the term database is used broadly to include any knownor convenient means for storing data, whether centralized ordistributed, relational or otherwise.

As used herein a mobile device includes, but is not limited to, a cellphone, such as Apple's iPhone®, other portable electronic devices, suchas Apple's iPod Touches®, Apple's iPads®, and mobile devices based onGoogle's Android® operating system, and any other portable electronicdevice that includes software, firmware, hardware, or a combinationthereof that is capable of at least receiving a wireless signal,decoding if needed, and exchanging information with a server. Typicalcomponents of mobile device may include but are not limited topersistent memories like flash ROM, random access memory like SRAM, acamera, a battery, LCD driver, a display, a cellular antenna, a speaker,a BLUETOOTH® circuit, and WIFI circuitry, where the persistent memorymay contain programs, applications, and/or an operating system for themobile device. For purposes of this application, a mobile device is alsodefined to include a fob, and its equivalents.

As used herein, the term “computer” is a general purpose device that canbe programmed to carry out a finite set of arithmetic or logicaloperations. Since a sequence of operations can be readily changed, thecomputer can solve more than one kind of problem. A computer can includeof at least one processing element, typically a central processing unit(CPU) and some form of memory. The processing element carries outarithmetic and logic operations, and a sequencing and control unit thatcan change the order of operations based on stored information.Peripheral devices allow information to be retrieved from an externalsource, and the result of operations saved and retrieved. Computer alsoincludes a graphic display medium.

As used herein, the term “internet” is a global system of interconnectedcomputer networks that use the standard Network Systems protocol suite(TCP/IP) to serve billions of users worldwide. It is a network ofnetworks that consists of millions of private, public, academic,business, and government networks, of local to global scope, that arelinked by a broad array of electronic, wireless and optical networkingtechnologies. The internet carries an extensive range of informationresources and services, such as the inter-linked hypertext documents ofthe World Wide Web (WWW) and the infrastructure to support email. Thecommunications infrastructure of the internet consists of its hardwarecomponents and a system of software layers that control various aspectsof the architecture.

As used herein, the term “extranet” is a computer network that allowscontrolled access from the outside. An extranet can be an extension ofan organization's intranet that is extended to users outside theorganization in isolation from all other internet users. An extranet canbe an intranet mapped onto the public internet or some othertransmission system not accessible to the general public, but managed bymore than one company's administrator(s). Examples of extranet-stylenetworks include but are not limited to:

LANs or WANs belonging to multiple organizations and interconnected andaccessed using remote dial-up

LANs or WANs belonging to multiple organizations and interconnected andaccessed using dedicated lines

Virtual private network (VPN) that is comprised of LANs or WANsbelonging to multiple organizations, and that extends usage to remoteusers using special “tunneling” software that creates a secure, usuallyencrypted network connection over public lines, sometimes via an ISP.

As used herein, the term “Intranet” is a network that is owned by asingle organization that controls its security policies and networkmanagement. Examples of intranets include but are not limited to:

A LAN

A Wide-area network (WAN) that is comprised of a LAN that extends usageto remote employees with dial-up access

A WAN that is comprised of interconnected LANs using dedicatedcommunication lines

A Virtual private network (VPN) that is comprised of a LAN or WAN thatextends usage to remote employees or networks using special “tunneling”software that creates a secure, usually encrypted connection over publiclines, sometimes via an Internet Service Provider (ISP).

For purposes of the present invention, the Internet, extranets andintranets collectively are referred to as (“Network Systems”).

As used herein “Cloud Application” refers to cloud application servicesor “software as a service” (SaaS) which deliver software over theNetwork Systems eliminating the need to install and run the applicationon a device.

As used herein “Cloud Platform” refers to a cloud platform services or“platform as a service” (PaaS) which deliver a computing platform and/orsolution stack as a service, and facilitates the deployment ofapplications without the cost and complexity of obtaining and managingthe underlying hardware and software layers.

As used herein “Cloud System” refers to cloud infrastructure services or“infrastructure as a service” (IAAS) which deliver computerinfrastructure as a service with raw block storage and networking.

As used herein “Server” refers to server layers that consist of computerhardware and/or software products specifically designed for the deliveryof cloud services.

As used herein, the term “user monitoring” includes: (i) cardiacmonitoring, which generally refers to continuous electrocardiographywith assessment of the user's condition relative to their cardiacrhythm. A small monitor worn by an ambulatory user for this purpose isknown as a Holter monitor. Cardiac monitoring can also involve cardiacoutput monitoring via an invasive Swan-Ganz catheter (ii) Hemodynamicmonitoring, which monitors the blood pressure and blood flow within thecirculatory system. Blood pressure can be measured either invasivelythrough an inserted blood pressure transducer assembly, or noninvasivelywith an inflatable blood pressure cuff. (iii) Respiratory monitoring,such as: pulse oximetry which involves measurement of the saturatedpercentage of oxygen in the blood, referred to as SpO2, and measured byan infrared finger cuff, capnography, which involves CO2 measurements,referred to as EtCO2 or end-tidal carbon dioxide concentration. Therespiratory rate monitored as such is called AWRR or airway respiratoryrate), (iv) respiratory rate monitoring through a thoracic transducerbelt, an ECG channel or via capnography, (v) Neurological monitoring,such as of intracranial pressure. Special user monitors can incorporatethe monitoring of brain waves electroencephalography, gas anestheticconcentrations, bispectral index (BIS), and the like, (vi) blood glucosemonitoring using glucose sensors. (vii) childbirth monitoring withsensors that monitor various aspects of childbirth. (viii) bodytemperature monitoring which in one embodiment is through an adhesivepad containing a thermoelectric transducer. (ix) stress monitoring thatcan utilize sensors to provide warnings when stress levels signs arerising before a human can notice it and provide alerts and suggestions.(x) epilepsy monitoring. (xi) toxicity monitoring, (xii) generallifestyle parameters, (xiii) sleep, including but not limited to: sleeppatterns, type of sleep, sleep disorders, movement during sleep, wakingup, falling asleep, problems with sleep, habits during, before and aftersleep, time of sleep, length sleep in terms of the amount of time foreach sleep, body activities during sleep, brain patterns during sleepand the like (xiv) body gesture, movement and motion (xv) body habits,(xvi) and the like.

In various embodiments, the present invention provides systems andmethods for monitoring and reporting human physiological information,life activities data of the individual, generate data indicative of oneor more contextual parameters of the individual, monitor the degree towhich an individual has followed a routine and the like, along withproviding feedback to the individual.

In certain embodiments, the suggested routine may include a plurality ofcategories, including but not limited to, body movement/motion/gesture,habits, health parameters, activity level, mind centering, sleep, dailyactivities, exercise and the like.

In general, according to the present invention, data relating to any orall of the above is collected and transmitted, either subsequently or inreal-time, to a site, the cloud and the like that can be remote from theindividual, where it is analyzed, stored, utilized, and the like viaNetwork System. Contextual parameters as used herein means parametersrelating any of the above, including the environment, surroundings andlocation of the individual, air quality, sound quality, ambienttemperature, global positioning and the like, as well as anythingrelative to the categories mentioned above.

In various embodiments, the present invention provides a user monitoringdevice 10. As illustrated in FIG. 1(a) monitoring device 10 can includean outer shell 12, a protective cover 14, a top circuit board 16, amicrophone 18, a speaker module 20, a circuit board support structure22, a protective quadrant 24, a middle circuit board 26, a particularair duct 28, a particulate sensor 30, a center support structure 32, alight emitter 34, a bottom circuit board 36, a temperature sensor 38,FIG. 1(b) and a base 40.

FIG. 1(e) illustrates the communication between the cloud, client ormobile device, monitoring device 10 and motion detection device 42.

FIG. 2(a) illustrates one embodiment of a detection device, (hereaftermotion/movement/gesture detective device 42). In one embodimentmotion/movement/gesture/detection device 42 includes a front shell 44,an emitter gasket 46, a circuit board 48, a front support structure 50,spring steel 52, an elastomeric foot 54, a rear support structure 56, abattery terminal 58, and a terminal insulting film 60, a coin cellbattery 62 and a back shell 64.

The monitor device 10 can include a plurality of ports, generallydenoted as 65, that: (i) allow light to be transmitted from an interiorof the monitor device to the user for visual feedback, (ii) a port 65for the proximity sensor 68, and (iii) one or more ports 65 that allowsfor the introduction of air. In one embodiment the ports 65 for theintroduction for air are located at a bottom portion of monitor device10.

As illustrated in FIGS. 1(b), 1(c) and 1(d) in one embodiment themonitor device10 includes four different printed circuit boards (PCBs).In one embodiment a top PCB includes an ambient light sensor 66, aproximity sensor 70, a microphone 72 and speaker module 74. These areutilized for user interaction and also to pick up the most data. Thereare no sensors on the middle PCB. In one embodiment the bottom PCB hasone temperature/humidity sensor 76 as the USB for wall charging. Abattery pact is optional. Air ducting inside the monitor device 10 isprovided to direct particulates, including but not limited to dust,towards the particulate sensor 30.

In one embodiment the monitor device 10 includes one or more of ahousing with a plurality of ports 65, and one or more of the followingelements: proximity sensor; temperature sensor/humidity sensor;particulate sensor 30; light sensor 66; microphone 70; speaker 74; twoRF transmitters 76 (BLE/ANT+WIFI); a memory card 78; and LED's 80.

In one embodiment the monitor device 10 lights up to indicate eitherthat the user is alarmed, that something is wrong, or if everything isok. This provides quick feedback to the user.

In one embodiment, illustrated in FIGS. 2(b) and 2(c) themotion/movement/gesture detection device 42 is provided that is locatedexternal to a monitor device 10 that includes one or more sensors. Inone embodiment the motion/movement/gesture detection device 42 includes:an RF transmitter (BLE/ANT) 82, motion/movement/gesture detectiondetector 84; a central processing unit (CPU) 86, an RGB LED 88 and areed switch 90. As a non-limiting example, motion/movement/gesturedetection device 42 is attached to a pillow, bed cover, bed sheet,bedspread, and the like, in close enough proximity to the person beingmonitored that monitor device can detect signals frommotion/movement/gesture detection device 42, and can be in the same roomor a different room where the monitored person is.

In one embodiment the motion/movement/gesture detection device 42 isconfigured to detect motion, movement and the like, of a person over acertain threshold. When motion is detected, it wakes up the CPU 86 whichprocesses the data emitted by the motion/movement/gesture detectiondevice 42. The CPU 86 can optionally encrypt the data. The CPU 86 canbroadcast the data collected through the RF transmitter.

In one embodiment the motion/movement/gesture detection device 42 is aposition sensing device that is an accelerometer 84 which detectsmotion, movement/gesture and the like, of a person. As a non-limitingexample, the accelerometer 84 provides a voltage output that isproportional to a detected acceleration. Suitable accelerometers aredisclosed in, U.S. Pat. No. 8,347,720, U.S. Pat. No. 8,544,326, U.S.Pat. No. 8,542,189, U.S. Pat. No. 8,522,596. EP0486657B1, EP 2428774 A1,incorporated herein by reference. In one embodiment the accelerometerreports X, Y, and X axis information.

In certain embodiments other motion/movement gesture sensing devices 42can be utilized including but not limited to: position sensing devicesincluding but not limited to, optical encoders, magnetic encoders,mechanical encoders, Hall Effect sensors, potentiometers, contacts withticks and the like.

The motion/movement/gesture detection device 84 provides one or moreoutputs. In one embodiment the output is a single value that detects themost interesting motion of the person within a defined time period. As anon-limiting example, this can be 60 seconds. The interesting motion isdefined as that which provides the most information relative tomovement/motion/gesture, and the like, of the person, that is differentfrom a normal pattern of movement/motion/gesture and the like, that arenot common occurrences of the person's movement/motion and gesture.

The motion/movement/gesture detection device 42 communicates with themonitor device 10 over the ANT protocol. The data collected by themotion/movement/gesture detection device 42 can be is encrypted beforebeing broadcasted. Any motion/movement/gesture detection device can 42safely connect to any monitor device to transmit data.

In one embodiment the monitor device 10 can also communicate with themotion/movement/gesture detection device 42 to exchange configurationinformation.

The monitor device 10 communicates with a Cloud System 110. The monitordevice uploads data to the Cloud System at some interval controlled bythe Cloud System 110. In one embodiment the data uploaded containsinformation collected from all sensors that are included in the monitordevice, including but not limited to, temperature, humidity,particulates, sound, light, proximity, motion/movement/gesture detectiondevice data, as well as system information including the monitordevice's unique identifier (mac address), remaining storage capacity,system logs, and the like. To verify integrity and authenticity of thedata, a cryptographic hash is included in the data.

In one embodiment monitor device receives commands and data from theCloud System after each upload. As non-limiting examples the commandscan include but are not limited to: light commands (color, pattern,duration); sound commands (sound, pattern, duration); personalized datawhich again as a non-limiting example can include ideal temperature,humidity, particulate level and the like; and custom configuration foralgorithms running on monitor device.

Values generated by the monitor device elements, e.g., sensors and otherelements in the monitor device, are collected over a selected timeperiod. As a non-limiting example, this time period can be one minute.Data is also accumulated from the motion/movement/gesture detectiondevice. The combination of the motion/movement/gesture detection deviceand the monitor device data and the combination of the two is thensynchronized at a server. As a non-limiting example, the server can beat the Cloud System 110. Following the synchronization the servercommunicates instructions to the monitor device.

In one embodiment a person's mobile device communicates with monitordevice over Bluetooth Low Energy (BLE). As non-limiting examples, themobile device can send command information directed to one or more of:securely sharing Wife credentials; activating sensors, including but notlimited to light, sound and the like; exchanges system stateinformation; communicates maintenance operations; and the like.

In one embodiment mobile devices communicate securely to the CloudSystem through mobile applications. As non-limiting examples theseapplications provide the ability to create an account, authenticate,access the data uploaded by monitor device, and perform other actions(set alarm, and the like) that are not typical of the environment wherethe client is.

In one embodiment the Cloud System pushes information to mobile deviceswhen notification is needed.

In one embodiment monitor device performs audio classification andsimilarity detection to identify sounds and extra sound characteristicson the most interesting sounds that are not common occurrences.

In one embodiment algorithms are used to detect start, end, duration andquality of sleep activity. In one embodiment additional algorithms areused to detect motion events caused by another motion/movement/gesturedetection device user sharing a same bed.

In one embodiment the Cloud System includes three subsystems which cancommunicate asynchronously. This can include one or more of a: (i)synchronization system that is responsible for receiving data uploadedby monitor device, verifying authenticity and integrity of the datauploaded, sending commands to monitor device 10. The data received isthen queued for processing; (ii) processing service which is responsiblefor data analysis, persistence and transformation, visualization; and apresentation service for presenting data to the authenticated users.

In one embodiment the motion/movement/gesture detection device 42analyzes motion data collected in real-time by an accelerometer. Analgorithm processes the data and extract the most statisticallyinteresting readings. At a predefined interval, the data collected isbroadcasted to a monitor device.

In one embodiment the motion/movement/gesture detection device 42 is athree axis accelerometer. As a non-limiting example, the three axisaccelerometer is modeled aszk=ak+gk+bk+vA;k

Where zk is the sensor output at time k, ak corresponds to theaccelerations due to linear and rotational movement, bk is the o_set ofthe sensor, and vA; k is the observed noise.

In one embodiment of the present invention, illustrated in FIG. 3, themotion/movement/gesture detection device 42 includes an accelerometer110 generally mounted on a circuit board 130 within themotion/movement/gesture detection device 42. The accelerometer 110 maybe a single axis accelerometer (x axis), a dual axis accelerometer (x, yaxes) or a tri-axis accelerometer (x, y, z axes). The electronic devicemay have multiple accelerometers that each measure 1, 2 or 3 axes ofacceleration. The accelerometer 110 continuously measures accelerationproducing a temporal acceleration signal. The temporal accelerationsignal may contain more than one separate signal. For example, thetemporal acceleration signal may include 3 separate accelerationsignals, i.e. one for each axis. In certain embodiments, theaccelerometer includes circuitry to determine if a tap and or shake haveoccurred by taking the derivative of the acceleration signal. In someembodiments, the accelerometer includes a computation module forcomparing the derivative values to a threshold to determine if a tap andor shake have occurred. In other embodiments, the accelerometer outputsa temporal acceleration signal and the computation module takes thefirst derivative of the acceleration signal produce a plurality ofderivative values. The computation module can then compare the firstderivative values to a predetermined threshold value that is stored in amemory of the computation module to determine if a tap and or shake haveoccurred.

FIG. 4 shows a first embodiment of the tap and or shake detection system200 that includes a computation module 220 and the accelerometer 210.The accelerometer output signal is received by a computation module 220that is electrically coupled to the accelerometer 210 and that isrunning (executing/interpreting) software code. It should be understoodby one of ordinary skill in the art that the software code could beimplemented in hardware, for example as an ASIC chip or in an FPGA or acombination of hardware and software code. The computation modulerunning the software receives as input the data from the accelerometerand takes the derivative of the signal. For example, the accelerometermay produce digital output values for a given axis that are sampled at apredetermined rate. The derivative of the acceleration values or “jerk”can be determined by subtracting the N and N−1 sampled values. Theacceleration values may be stored in memory 230A, 230B either internalto or external to the computation module 220 during the calculation ofthe derivative of acceleration.

Other methods/algorithms may also be used for determining the derivativeof the acceleration. The jerk value can then be compared to a threshold.The threshold can be fixed or user-adjustable. If the jerk value exceedsthe threshold then a tap and or shake is detected. In some embodiments,two threshold values may be present: a first threshold value for tap andor shakes about the measured axis in a positive direction and a secondthreshold for tap and or shakes about the axis in a negative direction.It should be recognized by one of ordinary skill in the art that theabsolute value of the accelerometer output values could be taken and asingle threshold could be employed for accelerations in both a positiveand negative direction along an axis. When a tap and or shake have beendetected, the computation unit can then forward a signal or dataindicative of a tap and or shake as an input for anotherapplication/process. The application/process may use the detection of atap and or shake as an input signal to perform an operation. Forexample, a tap and or shake may indicate that a device should beactivated or deactivated (on/off). Thus, the tap and or shake detectioninput causes a program operating on the device to take a specificaction. Other uses for tap and or shake detection include causing acellular telephone to stop audible ringing when a tap and or shake isdetected or causing a recording device to begin recording. Theseexamples should not be viewed as limiting the scope of the invention andare exemplary only.

FIG. 5 shows a second embodiment of the tap and or shake detectionsystem that uses a buffer for storing a temporal acceleration valuealong with a subtraction circuit. This embodiment can be used toretrofit an electronic device that already has a tap and or shakedetection algorithm without needing to alter the algorithm. For purposesof this discussion, it will be assumed that the high bandwidthacceleration data is for a single axis. The acceleration data mayinclude data from a multi-axis accelerometer.

The circuit shows high bandwidth data 300 from an accelerometer unitbeing used as input to the tap and or shake detection system 305. Thehigh-bandwidth data 300 is fed to a multiplexor 350 and also to a lowpass filter 310. The high bandwidth data 300 from the accelerometer islow pass filtered in order to reduce the data rate, so that the datarate will be compatible with the other circuit elements of the tap andor shake detection system 305. Therefore, the low pass filter is anoptional circuit element if the data rate of the accelerometer iscompatible with the other circuit elements. Once the acceleration datais filtered, the sampled data (N−1) is stored in a register 320. Thenext sampled data value (N) is passed to the subtraction circuit 330along with the sampled value that is stored in the register (N−1) 320.As the N−1 data is moved to the subtraction circuit 330, the N datavalue replaces the N−1 value in the register 320. Not shown in thefigure is a clock circuit that provides timing signals to the low passfilter 310, the register 320, and the subtraction circuit 330. The clockcircuit determines the rate at which data is sampled and passed throughthe circuit elements. If the accelerometer samples at a different ratethan the clock rate, the low pass filter can be used to make theaccelerometer's output data compatible with the clock rate. Thesubtraction circuit 330 subtracts the N−1 value from the N value andoutputs the resultant value. The resultant value is passed to the tapand or shakes detection circuit 340 when the jerk select command to themultiplexor is active. The acceleration data may also be passed directlyto the tap and or shake detection circuit when there is no jerk selectcommand. In certain embodiments of the invention, the accelerometer unitalong with the register, subtraction circuit, and multiplexor arecontained within the accelerometer package.

The tap and or shake detection circuit 340 may be a computation modulewith associated memory that stores the threshold jerk values within thememory. The tap and or shake detection circuit may be either internal tothe accelerometer packaging or external to the accelerometer packaging.For example, in a cell phone that includes one or more processors, aprocessor can implement the functions of a computation module. Thecomputation module 340 compares the resultant jerk value to the one ormore threshold jerk values. In one embodiment, there is a positive and anegative threshold jerk value. If the resultant value exceeds thethreshold for a tap and or shake in a positive direction or is below thethreshold for a tap and or shake in a negative direction, the tap and orshake detection circuit indicates that a tap and or shake has occurred.The tap and or shake identification can be used as a signal to cause anaction to be taken in a process or application. For example, if theelectronic device is a cell phone and a tap and or shake are detected,the tap and or shake may cause the cell phone to mute its ringer.

In other embodiments, the computation module determines if a tap and orshake occurs and then can store this information along with timinginformation. When a second tap and or shake occurs, the computationmodule can compare the time between tap and or shakes to determine if adouble tap and or shake has occurred. Thus, a temporal threshold betweentap and or shakes would be indicative of a double tap and or shake. Thisdetermination could be similar to the double tap and or shake algorithmsthat are used for computer input devices. For example, a double click ofa computer mouse is often required to cause execution of a certainroutine within a computer program. Thus, the double tap and or shakecould be used in a similar fashion.

FIG. 6 shows a flow chart for determining if a double tap and or shakehave occurred. The system is initially at idle and the accelerationderivative values (jerk values) are below the threshold value 400. Eachjerk value is compared to a threshold value 410. When the thresholdvalue is exceeded, a first click or tap and or shake are identified. Thesystem waits either a predetermined length of time or determines whenthe jerk value goes below the threshold to signify that the first tapand or shake have ended 420. A timer then starts and measures the timefrom the end of the first tap and or shake and the system waits for asecond tap and or shake 430. The system checks each jerk value to see ifthe jerk value has exceeded the threshold 440. If the jerk value doesnot exceed the threshold the system waits. When the threshold isexceeded, the system determines the time between tap and or shakes andcompares the time between tap and or shakes to a double tap and or shakelimit 440. If the time between tap and or shakes is less than the doubletap and or shake time limit, a double tap and or shake is recognized450. If a double tap and or shake is not recognized, the present tap andor shake becomes the first tap and or shake and the system waits for theend of the first tap and or shake. When a second tap and or shakeoccurs, an identifier of the second tap and or shake i.e. a data signal,flag or memory location is changed and this information may be providedas input to a process or program. Additionally, when a double tap and orshake have been monitored, the methodology loops back to the beginningand waits for a new tap and or shake.

FIG. 7 shows a graph of the derivative of acceleration data (“jerk”)with respect to time for the same series of accelerations as shown inFIG. 3. FIG. 5 provides a more accurate indication of tap and or shakes.FIG. 3 shows both false positive tap and or shake readings along withtrue negative readings. Thus, the acceleration measurement will notregister some tap and or shakes and will also cause tap and or shakes tobe registered when no tap and or shake was present. False positivereadings occur, for example, when a user has a cell phone in his pocketand keys or other objects strike the cell phone due to movement of theuser. These false readings are caused mainly because of the noise floor.By taking the derivative of the acceleration signal, the noise floor islowered and the tap and or shake signals become more pronounced. Thus,false positive identifications of tap and or shakes are reduced with alower noise floor. By requiring double tap and or shakes the number offalse positives is reduced even further.

Audio

FIG. 8 is a block diagram of a microphone circuit 500 in one embodiment.In one embodiment, the microphone circuit 500 includes a transducer 502,a biasing resistor 504, a pre-amplifier 506, a switch circuit 508, andcontrol logic 510. The transducer 502 is coupled between a ground VGNDand a node 520. The transducer 502 converts a sound into a voltagesignal and outputs the voltage signal to the node 520. The biasingresistor 504 is coupled between the node 520 and the ground VGND andbiases the node 520 with a DC voltage level of the ground voltage VGND.The pre-amplifier 506 receives the voltage signal output by thetransducer 502 at the node 520 and amplifies the voltage signal toobtain an output signal Vo at a node 522. In one embodiment, thepre-amplifier 506 is a unity gain buffer.

The pre-amplifier 506 requires power supplied by a biasing voltage foramplifying the voltage signal output by the transducer 502. The switchcircuit 508 is coupled between the node 520 and the ground voltage VGND.The switch circuit 508 therefore controls whether the voltage of thenode 520 is set to the ground voltage VGND. When the microphone circuit500 is reset, the control logic 510 enables a resetting signal VR toswitch on the switch circuit 508, and the node 520 is therefore directlycoupled to the ground VGND. When the microphone circuit 500 is reset, abiasing voltage VDD is applied to the pre-amplifier 506, and the voltageat the node 520 tends to have a temporary voltage increase. However,because the switch circuit 508 couples the node 520 the ground VGND, thevoltage of the node 520 is kept at the ground voltage VGND and preventedfrom increasing, thus avoiding generation of the popping noise duringthe reset period. After a voltage status of the pre-amplifier 506 isstable at time T1, the control logic 510 switches off the switch circuit508. The node 520 is therefore decoupled from the ground VGND, allowingthe voltage signal generated by the transducer 502 to be passed to thepre-amplifier 506. Thus, the switch circuit 508 clamps the voltage ofthe node 520 to the ground voltage during the reset period, in which thebiasing voltage VDD is just applied to the pre-amplifier 506.

Referring to FIG. 12(a), an embodiment of control logic 510 is shown. Inthe embodiment, the control logic 510 is a power-on-reset circuit 800.The power-on-reset circuit 800 detects the power level of a biasingvoltage of the pre-amplifier 506. When the power level of the biasingvoltage of the pre-amplifier 506 is lower than a threshold, thepower-on-reset circuit 800 enables the resetting signal VR to switch onthe switch circuit 508, thus coupling the node 520 to the ground VGND toavoid generation of a popping noise. Referring to FIG. 12(b), anotherembodiment of control logic 510 of FIG. 8 is shown. In the embodiment,the control logic 510 is a clock detection circuit 850. The clockdetection circuit 850 detects a clock signal C frequency for operatingthe microphone circuit 500. When the frequency of the clock signal C islower than a threshold, the clock detection circuit 850 enables theresetting signal VR to switch on the switch circuit 508, thus couplingthe node 520 to the ground VGND to avoid generation of a popping noise.

In one embodiment, the switch circuit 508 is an NMOS transistor coupledbetween the node 520 and the ground VGND. The NMOS transistor has a gatecoupled to the resetting voltage VR generated by the control logic 510.If the switch circuit 508 is an NMOS transistor, a noise is generatedwith a sound level less than that of the original popping noise when thecontrol logic 510 switches off the switch circuit 508. Referring to FIG.9, a cross-section view of an NMOS transistor 500 is shown. The NMOStransistor 500 has a gate on a substrate, and a source and a drain inthe substrate. The gate, source, and drain are respectively coupled tothe resetting signal VR, the ground voltage VGND, and the node 520. Whenthe control logic 510 enables the resetting voltage VR to turn on theNMOS transistor 500, a charge amount Q is attracted by the gate voltageto form an inversion layer beneath the insulator. When the control logic510 disables the resetting signal VR, the inversion layer vanishes, anda charge amount of Q/2 flows to the drain and source of the NMOStransistor 500, inducing a temporary voltage change at the node 520 andproducing a noise.

Assume that the NMOS transistor 500 has a width of 1 μm, a length of0.35 μm, and the resetting voltage is 1.8V, then the sheet capacitanceof the gate oxide is 5 fF/μm2. The gate capacitance of the NMOStransistor 500 is therefore equal to (5 fF/μm2×1 μm×0.35 μm)=1.75 fF,and the charge Q stored in the inversion layer is therefore equal to(1.75 fF×1.8V)=3.15 fC. The drain of the NMOS transistor 500 hascapacitance of (5 pF+200 fF)=5.2 pF, and the temporary voltage change atthe node 520 is therefore equal to (3.15 fC/5.2 pF)=0.6 mV. With theNMOS switch 500, the node 520 of the microphone circuit 500 has atemporary voltage change of 0.6 mV instead of a popping noise of 64 mVduring a reset period. The temporary voltage change of 0.6 mV, however,still produces an audible sound with a 63 dB sound pressure level. Thus,two more embodiments of the switch circuit 508 are introduced to solvethe problem.

Referring to FIG. 10, a block diagram of an embodiment of a switchcircuit 600 is shown. The switch circuit 600 can include an inverter 602and NMOS transistors 604 and 606, wherein a size of the NMOS transistor606 is equal to a half of that of the NMOS transistor 604. When thecontrol logic 510 enables the resetting signal VR, the NMOS transistor604 is turned on to couple the node 520 to the ground voltage VGND, andthe NMOS transistor 606 is turned off. When the control logic 510disables the resetting signal VR, the NMOS transistor 604 is turned offto decouple the node 520 from the ground voltage VGND, and the NMOStransistor 606 is turned on. Charges originally stored in an inversionlayer of the NMOS transistor 604 therefore flow from a drain of the NMOStransistor 604 to a source of the NMOS transistor 606 and are thenabsorbed by an inversion layer of the NMOS transistor 606, preventingthe aforementioned problem of temporary voltage change of the node 520.

Referring to FIG. 11, a block diagram of another embodiment of a switchcircuit 700 according to the invention is shown. The switch circuit 700comprises an inverter 702, an NMOS transistor 704, and a PMOS transistor706, wherein a size of the NMOS transistor 704 is equal to that of thePMOS transistor 706. When the control logic 510 enables the resettingsignal VR, the NMOS transistor 704 is turned on to couple the node 520to the ground voltage VGND, and the PMOS transistor 706 is turned off.When the control logic 510 disables the resetting signal VR, the NMOStransistor 704 is turned off to decouple the node 520 from the groundvoltage VGND, and the PMOS transistor 706 is turned on. Chargesoriginally stored in an inversion layer of the NMOS transistor 704therefore flow from a drain of the NMOS transistor 704 to a drain of thePMOS transistor 706 and are then absorbed by an inversion layer of thePMOS transistor 706, preventing the aforementioned problem of temporaryvoltage change of the node 520.

Gesture

FIG. 13 is a diagram that provides an overview of motion patternclassification and gesture recognition. Motion pattern classificationsystem 900 is a system including one or more computers programmed togenerate one or more motion patterns from empirical data. Motion patternclassification system 900 can receive motion samples 902 as trainingdata from at least one motion/movement/gesture detection device 904.Each of the motion samples 902 can include a time series of readings ofa motion sensor of motion/movement/gesture detection device 904.

Motion pattern classification system 900 can process the received motionsamples 902 and generate one or more motion patterns 906. Each of themotion patterns 906 can include a series of motion vectors. Each motionvector can include linear acceleration values, angular rate values, orboth, on three axes of a Cartesian coordinate frame (e.g., X, Y, Z orpitch, yaw, roll). Each motion vector can be associated with atimestamp. Each motion pattern 906 can serve as a prototype to whichmotions are compared such that a gesture can be recognized. Motionpattern classification system 900 can send motion patterns 906 tomotion/movement/gesture detection device 920 for gesture recognition.

Mobile device 920 can include, or be coupled to, gesture recognitionsystem 922. Gesture recognition system 922 is a component ofmotion/movement/gesture detection device 920 that includes hardware,software, or both that are configured to identify a gesture based onmotion patterns 906. Mobile device 920 can move (e.g., from a location Ato a location B) and change orientations (e.g., from a face-uporientation on a table to an upright orientation near a face) followingmotion path 924. When motion/movement/gesture detection device 920moves, a motion sensor of motion/movement/gesture detection device 920can provide a series of sensor readings 926 (e.g., acceleration readingsor angular rate readings). Gesture recognition system 922 can receivesensor readings 926 and filter sensor readings 926. Gesture recognitionsystem 922 can compare the filtered sensor readings 926 with the motionpatterns 906. If a match is found, motion/movement/gesture detectiondevice 920 can determine that a gesture is recognized. Based on therecognized gesture, motion/movement/gesture detection device can performa task associated with the motion patterns 906 (e.g., turning off adisplay screen of motion/movement/gesture detection device 920).

FIG. 14 is a block diagram of an exemplary system configured to performoperations of motion pattern classification. Motion patternclassification system 900 can receive motion samples 902 frommotion/movement/gesture detection device 904, generates prototype motionpatterns 906 based on motion samples 902, and send prototype motionpatterns 906 to motion/movement/gesture detection device 920.

Mobile device 904 is a device configured to gather motion samples 902.An application program executing on motion/movement/gesture detectiondevice 904 can provide for display a user interface requesting a user toperform a specified physical gesture with motion/movement/gesturedetection device 904 one or more times. The specified gesture can be,for example, a gesture of picking up motion/movement/gesture detectiondevice 904 from a table or a pocket and putting motion/movement/gesturedetection device 904 near a human face. The gesture can be performed invarious ways (e.g., left-handed or right-handed). The user interface isconfigured to prompt the user to label a movement each time the usercompletes the movement. The label can be positive, indicating the useracknowledges that the just-completed movement is a way of performing thegesture. The label can be negative, indicating that the user specifiesthat the just-completed movement is not a way of performing the gesture.Mobile device 904 can record a series of motion sensor readings duringthe movement. Mobile device 904 can designate the recorded series ofmotion sensor readings, including those labeled as positive or negative,as motion samples 902. The portions of motion samples 902 that arelabeled negative can be used as controls for tuning the motion patterns906. Motion samples 902 can include multiple files, each filecorresponding to a motion example and a series of motion sensorreadings. Content of each file can include triplets of motion sensorreadings (3 axes of sensed acceleration), each triplet being associatedwith a timestamp and a label. The label can include a text string or avalue that designates the motion sample as a positive sample or anegative sample.

Motion pattern classification system 900 can include dynamic filteringsubsystem 1002. Dynamic filtering subsystem 1002 is a component ofmotion pattern classification system 900 that is configured to generatenormalized motion samples (also referred to as motion features) 1004based on motion samples 902. Dynamic filtering subsystem 1002 canhigh-pass filter each of motion samples 902. High-pass filtering ofmotion samples 902 can include reducing a dimensionality of the motionexample and compressing the motion sample in time such that each ofmotion samples 902 has a similar length in time. Further details of theoperations of dynamic filtering subsystem 1002 will be described belowin reference to FIG. 15.

Motion pattern classification system 900 can include distancecalculating subsystem 1006. Distance calculating subsystem 1006 is acomponent of motion pattern classification system 100 that is configuredto calculate a distance between each pair of motion features 1004.Distance calculating subsystem 1006 can generate a D-path matrix 1008 ofdistances. The distance between a pair of motion features 1004 can be avalue that indicates a similarity between two motion features. Furtherdetails of the operations of calculating a distance between a pair ofmotion features 1004 and of the D-path matrix 1008 will be describedbelow in reference to FIG. 16.

Motion pattern classification system 900 can include clusteringsubsystem 1010. Clustering subsystem 1010 is a component of motionpattern classification system 900 that is configured to generate one ormore raw motion patterns 1012 based on the D-path matrix 1008 from thedistance calculating system 1006. Each of the raw motion patterns 1012can include a time series of motion vectors. The time series of motionvectors can represent a cluster of motion features 1004. The cluster caninclude one or more motion features 1004 that clustering subsystem 1010determines to be sufficiently similar such that they can be treated as aclass of motions. Further details of operations of clustering subsystem1010 will be described below in reference to FIG. 17.

Motion pattern classification system 900 can include sphere-of-influence(SOI) calculating subsystem 1014. SOI calculating subsystem 1014 is acomponent of the motion pattern classification system 900 configured togenerate one or more motion patterns 906 based on the raw motionpatterns 1012 and the D-path matrix 1008. Each of the motion patterns906 can include a raw motion pattern 1012 associated with an SOT. TheSOI of a motion pattern is a value or a series of values that canindicate a tolerance or error margin of the motion pattern. A gesturerecognition system can determine that a series of motion sensor readingsmatch a motion pattern if the gesture recognition system determines thata distance between the series of motion sensor readings and the motionpattern is smaller than the SOI of the motion pattern. Further detailsof the operations of SOI calculating subsystem 1014 will be describedbelow in reference FIGS. 18(a)-(c). The motion pattern classificationsystem 900 can send the motion patterns 906 to device 920 to be used bydevice 920 to perform pattern-based gesture recognition.

FIG. 15 is a diagram illustrating exemplary operations of dynamicfiltering motion sample data. Motion example 1102 can be one of themotion samples 902 (as described above in reference to FIGS. 13-14).Motion sample 1102 can include a time series of motion sensor readings1104, 1106 a-c, 1108, etc. Each motion sensor reading is shown in onedimension (“A”) for simplicity. Each motion sensor reading can includethree acceleration values, one on each axis in a three dimensionalspace.

Dynamic filtering subsystem 1002 (as described in reference to FIG. 14)can receive motion sample 1102 and generate motion feature 1122. Motionfeature 1122 can be one of the motion features 1004. Motion feature 1122can include one or more motion vectors 1124, 1126, 1128, etc. Togenerate the motion feature 1122, dynamic filtering subsystem 1002 canreduce the motion sample 1102 in the time dimension. In someimplementations, dynamic filtering subsystem 1002 can apply a filteringthreshold to motion sample 1102. The filtering threshold can be aspecified acceleration value. If a motion sensor reading 1108 exceedsthe filtering threshold on at least one axis (e.g., axis X), dynamicfiltering subsystem 1002 can process a series of one or more motionsensor readings 1106 a-c that precede the motion sensor reading 1108 intime. Processing the motion sensor readings 1106 a-c can includegenerating motion vector 1126 for replacing motion sensor readings 1106a-c. Dynamic filtering subsystem 1002 can generate motion vector 1126 bycalculating an average of motion sensor readings 1106 a-c. In athree-dimensional space, motion vector 1126 can include an average valueon each of multiple axes. Thus, dynamic filtering subsystem 1002 cancreate motion feature 1122 that has fewer data points in the timeseries.

In some implementations, dynamic filtering subsystem 1002 can remove thetimestamps of the motion samples such that motion feature 1122 includesan ordered series of motion vectors. The order of the series canimplicitly indicate a time sequence. Dynamic filtering subsystem 1002can preserve the labels associated with motion sample 1102. Accordingly,each motion vector in motion feature 1122 can be associated with alabel.

FIG. 16 is a diagram illustrating exemplary dynamic time warp techniquesused in distance calculating operations of motion patternclassification. Distance calculating subsystem 1006 (as described inreference to FIG. 14) can apply dynamic time warp techniques tocalculate a distance between a first motion feature (e.g., Ea) and asecond motion feature (e.g., Eb). The distance between Ea and Eb will bedesignated as D(Ea, Eb).

In the example shown, Ea includes a time series of m accelerometerreadings r (a, 1) through r (a, m). Eb includes a time series of naccelerometer readings r (b, 1) through r (b, n). In someimplementations, the distance calculating subsystem 1006 calculates thedistance D(Ea, Eb) by employing a directed graph 1200. Directed graph1200 can include m×n nodes. Each node can be associated with a cost. Thecost of a node (i, j) can be determined based on a distance betweenaccelerometer readings r(a, i) and r(b, j). For example, node 1202 canbe associated with a distance between accelerometer readings r(a, 5) ofEa and accelerometer readings r(b, 2) of Eb. The distance can be aEuclidean distance, a Manhattan distance, or any other distance betweentwo values in an n-dimensional space (e.g., a three-dimensional space).

Distance calculating subsystem 1006 can add a directed edge from a node(i, j) to a node (i, j+1) and from the node (i, j) to a node (i+1, j).The directed edges thus can form a grid, in which, in this example,multiple paths can lead from the node (1, 1) to the node (m, n).

Distance calculating subsystem 1006 can add, to directed graph 1200, asource node S and a directed edge from S to node (1, 1), and target nodeT and a directed edge from node (m, n) to T. Distance calculatingsubsystem 1006 can determine a shortest path (e.g., the path marked inbold lines) between S and T, and designate the cost of the shortest pathas the distance between motion features Ea and Eb.

When distance calculating subsystem 1006 receives y of motion featuresE1 . . . Ey, distance calculating subsystem 1006 can create a y-by-ymatrix, an element of which is a distance between two motion features.For example, element (a, b) of the y-by-y matrix is the distance D(Ea,Eb) between motion features Ea and Eb. Distance calculating subsystem1006 can designate the y-by-y matrix as D-path matrix 1008 as describedabove in reference to FIG. 14.

FIG. 20 is a diagram illustrating exemplary clustering techniques ofmotion pattern classification. The diagram is shown in a two-dimensionalspace for illustrative purposes. In some implementations, the clusteringtechniques are performed in a three-dimensional space. Clusteringsubsystem 1006 (as described in reference to FIG. 14) can apply qualitythreshold techniques to create exemplary clusters of motions C1 and C2.

Clustering subsystem 1006 can analyze D-path matrix 1008 as describedabove in references to FIG. 14 and FIG. 16 and the motion features 1004as described above in reference to FIG. 14. Clustering subsystem 1006can identify a first class of motion features 1004 having a first label(e.g., those labeled as “positive”) and a second class of motionfeatures 1004 having a second label (e.g., those labeled as “negative”).From D-path matrix 1008, clustering subsystem 1006 can identify aspecified distance (e.g., a minimum distance) between a first classmotion feature (e.g., “positive” motion feature 1302) and a second classmotion feature (e.g., “negative” motion feature 1304). The system candesignate this distance as Dmin(EL1, EL2), where L1 is a first label,and L2 is a second label. The specified distance can include the minimumdistance adjusted by a factor (e.g., a multiplier k) for controlling thesize of each cluster. Clustering subsystem 1006 can designate thespecified distance (e.g., kDmin(EL1, EL2)) as a quality threshold.

Clustering subsystem 1006 can select a first class motion feature E1(e.g., “positive” motion feature 1302) to add to a first cluster C1.Clustering subsystem 1006 can then identify a second first class motionfeature E2 whose distance to E1 is less than the quality threshold, andadd E2 to the first cluster C1. Clustering subsystem 1006 caniteratively add first class motion features to the first cluster C1until all first class motion features whose distances to E1 are eachless than the quality threshold has been added to the first cluster C1.

Clustering subsystem 1006 can remove the first class motion features inC1 from further clustering operations and select another first classmotion feature E2 (e.g., “positive” motion feature 1306) to add to asecond cluster C2. Clustering subsystem 1006 can iteratively add firstclass motion features to the second cluster C2 until all first classmotion features whose distances to E2 are each less than the qualitythreshold have been added to the second cluster C2. Clustering subsystem1006 can repeat the operations to create clusters C3, C4, and so onuntil all first class motion features are clustered.

Clustering subsystem 1006 can generate a representative series of motionvectors for each cluster. In some implementations, clustering subsystem1006 can designate as the representative series of motion vectors amotion feature (e.g., motion feature 1308 illustrated in FIG. 17) thatis closest to other motion samples in a cluster (e.g., cluster C1).Clustering subsystem 1006 can designate the representative series ofmotion vectors as a raw motion pattern (e.g., one of raw motion patterns1012 as described above in reference to FIG. 14). To identify an examplethat is closest to other samples, clustering subsystem 1006 cancalculate distances between pairs of motion features in cluster C1, anddetermine a reference distance for each motion sample. The referencedistance for a motion sample can be maximum distance between the motionsample and another motion sample in the cluster. Clustering subsystem1006 can identify motion feature 1308 in cluster C1 that has the minimumreference distance and designate motion feature 1308 as the motionpattern for cluster C1.

FIGS. 18(a)-(c) are diagrams illustrating techniques for determining asphere of influence of a motion pattern. FIG. 18(a) is an illustrationof a SOI of a motion pattern P. The SOI has a radius r that can be usedas a threshold. If a distance between a motion M1 and the motion patternP does not exceed r, a gesture recognition system can determine thatmotion M1 matches motion P. The match can indicate that a gesture isrecognized. If a distance between a motion M2 and the motion pattern Pexceeds r, the gesture recognition system can determine that motion M2does not match motion P.

FIG. 18B is an illustration of exemplary operations of SOI calculatingsubsystem 1014 (as described above in reference to FIG. 14) forcalculating a radius r1 of a SOI of a raw motion pattern P based onclassification. SOI calculating subsystem 1014 can rank motion features1004 based on a distance between each of the motion features 1004 and araw motion pattern P. SOI calculating subsystem 1014 can determine theradius r1 based on a classification threshold and a classificationratio, which will be described below.

The radius r1 can be associated with a classification ratio. Theclassification ratio can be a ratio between a number of first classmotion samples (e.g., “positive” motion samples) within distance r1 fromthe raw motion pattern P and a total number of motion samples (e.g.,both “positive” and “negative” motion samples) within distance r1 fromthe motion pattern P.

SOI calculating subsystem 1014 can specify a classification thresholdand determine the radius r1 based on the classification threshold. SOIcalculating subsystem 1014 can increase the radius r1 from an initialvalue (e.g., 0) incrementally according to the incremental distancesbetween the ordered motion samples and the raw motion pattern P. If,after r1 reaches a value (e.g., a distance between motion feature 1012and raw motion pattern P), a further increment of r1 to a next closestdistance between a motion feature (e.g., motion feature 1414) and rawmotion pattern P will cause the classification ratio to be less than theclassification threshold, SOI calculating subsystem 1014 can designatethe value of r1 as a classification radius of the ROI.

FIG. 18(c) is an illustration of exemplary operations of SOI calculatingsubsystem 1014 (as described above in reference to FIG. 14) forcalculating a density radius r2 of a SOI of raw motion pattern P basedon variance. SOI calculating subsystem 1014 can rank motion features1004 based on a distance between each of the motion features 1004 and amotion pattern P. SOI calculating subsystem 1014 can determine thedensity radius r2 based on a variance threshold and a variance value,which will be described in further detail below.

The density radius r2 can be associated with a variance value. Thevariance value can indicate a variance of distance between each of themotion samples that are within distance r2 of the raw motion pattern P.SOI calculating subsystem 1014 can specify a variance threshold anddetermine the density radius r2 based on the variance threshold. SOIcalculating subsystem 1014 can increase a measuring distance from aninitial value (e.g., 0) incrementally according to the incrementaldistances between the ordered motion samples and the motion pattern P.If, after the measuring distance reaches a value (e.g., a distancebetween motion feature 1422 and raw motion pattern P), a furtherincrement of measuring distance to a next closest distance between amotion feature (e.g., motion feature 1424) and the raw motion pattern Pwill cause the variance value to be greater than the variance threshold,SOI calculating subsystem 1014 can designate an average ((D1+D2)/2) ofthe distance D1 between motion feature 1422 and the motion pattern P andthe distance D2 between motion feature 1424 and the motion pattern P asthe density radius r2 of the SOI.

In some implementations, SOI calculating subsystem 1014 can select thesmaller between the classification radius and the density radius of anSOI as the radius of the SOI. In some implementations, SOI calculatingsubsystem 1014 can designate a weighted average of the classificationradius and the density radius of an SOI as the radius of the SOI.

FIG. 19 is a flowchart illustrating exemplary process 1500 ofpattern-based gesture recognition. The process can be executed by asystem including a motion/movement/gesture detection device.

The system can receive multiple motion patterns. Each of the motionpatterns can include a time series of motion vectors. For clarity, themotion vectors in the motion patterns will be referred to as motionpattern vectors. Each of the motion patterns can be associated with anSOI. Each motion pattern vector can include a linear acceleration value,an angular rate value, or both, on each of multiple motion axes. In someimplementations, each of the motion pattern vectors can include anangular rate value on each of pitch, roll, and yaw. Each of the motionpatterns can include gyroscope data determined based on a gyroscopedevice of the motion/movement/gesture detection device, magnetometerdata determined based on a magnetometer device of themotion/movement/gesture detection device, or gravimeter data from agravimeter device of the motion/movement/gesture detection device. Eachmotion pattern vector can be associated with a motion pattern time. Insome implementations, the motion pattern time is implied in the orderingof the motion pattern vectors.

The system can receive multiple motion sensor readings from a motionsensor built into or coupled with the system. The motion sensor readingscan include multiple motion vectors, which will be referred to as motionreading vectors. Each motion reading vector can correspond to atimestamp, which can indicate a motion reading time. In someimplementations, each motion reading vector can include an accelerationvalue on each of the axes as measured by the motion sensor, whichincludes an accelerometer. In some implementations, each motion readingvector can include a transformed acceleration value that is calculatedbased on one or more acceleration values as measured by the motionsensor. The transformation can include high-pass filtering,time-dimension compression, or other manipulations of the accelerationvalues. In some implementations, the motion reading time is implied inthe ordering of the motion reading vectors.

The system can select, using a time window and from the motion sensorreadings, a time series of motion reading vectors. The time window caninclude a specified time period and a beginning time. In someimplementations, transforming the acceleration values can occur afterthe selection stage. The system can transform the selected time seriesof acceleration values.

The system can calculate a distance between the selected time series ofmotion reading vectors and each of the motion patterns. This distancewill be referred to as a motion deviation distance. Calculating themotion deviation distance can include applying dynamic time warpingbased on the motion pattern times of the motion pattern and the motionreading times of the series of motion reading vectors. Calculating themotion deviation distance can include calculating a vector distancebetween (1) each motion reading vector in the selected time series ofmotion reading vectors, and (2) each motion pattern vector in the motionpattern. The system can then calculate the motion deviation distancebased on each vector distance. Calculating the motion deviation distancebased on each vector distance can include identifying a series of vectordistances ordered according to the motion pattern times and the motionreading times (e.g., the identified shortest path described above withrespect to FIG. 9B). The system can designate a measurement of thevector distances in the identified series as the motion deviationdistance. The measurement can include at least one of a sum or aweighted sum of the vector distances in the identified series. Thevector distances can include at least one of a Euclidean distancebetween a motion pattern vector and a motion reading vector or aManhattan distance between a motion pattern vector and a motion readingvector.

The system can determine whether a match is found. Determining whether amatch is found can include determining whether, according to acalculated motion deviation distance, the selected time series of motionreading vectors is located within the sphere of influence of a motionpattern (e.g., motion pattern P).

If a match is not found, the system slides the time window along a timedimension on the received motion sensor readings. Sliding the timewindow can include increasing the beginning time of the time window. Thesystem can then perform operations 1504, 1506, 1508, and 1510 until amatch is found, or until all the motion patterns have been comparedagainst and no match is found.

If a match is found, a gesture is recognized. The system can designatethe motion pattern P as a matching motion pattern. The system canperform (1014) a specified task based on the matching motion pattern.Performing the specific task can include at least one of: changing aconfiguration of a motion/movement/gesture detection device; providing auser interface for display, or removing a user interface from display ona motion/movement/gesture detection device; launching or terminating anapplication program on a motion/movement/gesture detection device; orinitiating or terminating a communication between amotion/movement/gesture detection device and another device. Changingthe configuration of the motion/movement/gesture detection deviceincludes changing an input mode of the motion/movement/gesture detectiondevice between a touch screen input mode and a voice input mode.

In some implementations, before performing the specified task, thesystem can apply confirmation operations to detect and eliminate falsepositives in matching. The confirmation operations can include examininga touch-screen input device or a proximity sensor of themotion/movement/gesture detection device. For example, if the gesture is“picking up the device,” the device can confirm the gesture by examiningproximity sensor readings to determine that the device is proximity toan object (e.g., a human face) at the end of the gesture.

FIG. 20 is a block diagram illustrating an exemplary system configuredto perform operations of gesture recognition. The system can includemotion sensor 1602, gesture recognition system, and applicationinterface 1604. The system can be implemented on a mobile device.

Motion sensor 1602 can be a component of a mobile device that isconfigured to measure accelerations in multiple axes and produces motionsensor readings 1606 based on the measured accelerations. Motion sensorreadings 1606 can include a time series of acceleration vectors.

Gesture recognition system can be configured to receive and processmotion sensor readings 1606. Gesture recognition system 122 can includedynamic filtering subsystem 1608. Dynamic filtering subsystem 1608 is acomponent of the gesture recognition system that is configured toperform dynamic filtering on motion sensor readings 1606 in a mannersimilar to the operations of dynamic filtering subsystem. In addition,dynamic filtering subsystem 1608 can be configured to select a portionof motion sensor readings 1606 for further processing. The selection canbe based on sliding time window 1610. Motion sensor 1602 can generatemotion sensor readings 1606 continuously. Dynamic filtering subsystem1608 can use the sliding time window 1610 to select segments of thecontinuous data, and generate normalized motion sensor readings 1611based on the selected segments.

Gesture recognition system can include motion identification subsystem1612. Motion identification subsystem 1612 is a component of gesturerecognition system 1622 that is configured to determine whethernormalized motion sensor readings 1611 match a known motion pattern.Motion identification subsystem 1612 can receive normalized motionsensor readings 1611, and access motion pattern data store 1614. Motionpattern data store 1614 includes a storage device that stores one ormore motion patterns 106. Motion identification subsystem 1612 cancompare the received normalized motion sensor readings 1611 with each ofthe stored motion patterns, and recognize a gesture based on thecomparison.

Motion identification subsystem 1612 can include distance calculatingsubsystem 1618. Distance calculating subsystem 1618 is a component ofmotion identification subsystem 1612 that is configured to calculate adistance between normalized motion sensor readings 1611 and each of themotion patterns 106. If the distance between normalized motion sensorreadings 1611 and a motion pattern P is within the radius of an SOI ofthe motion pattern P, motion identification subsystem 1612 can identifya match and recognize a gesture 1620. Further details of the operationsof distance calculating subsystem 1618 will be described below inreference to FIGS. 21(a) and (b).

Motion identification subsystem 1612 can send the recognized gesture1620 to application interface 1604. An application program or a systemfunction of the mobile device can receive the gesture from applicationinterface 1604 and perform a task (e.g., turning off a touch-inputscreen) in response.

FIGS. 21(a) and (b) are diagrams illustrating techniques of matchingmotion sensor readings to a motion pattern. FIG. 21(a) illustrates anexample data structure of normalized motion sensor readings 1611.Normalized motion sensor readings 1611 can include a series of motionvectors 1622. Each motion vector 1622 can include acceleration readingsax, ay, and az, for axes X, Y, and Z, respectively. In someimplementations, each motion vector 1622 can be associated with a timeti, the time defining the time series. In some implementations, thenormalized motion sensor readings 1611 designate the time dimension ofthe time series using an order of the motion vectors 1622. In theseimplementations, the time can be omitted.

Distance calculating subsystem 1618 (as described above in reference toFIG. 20) compares normalized motion sensor readings 1611 to each of themotion patterns 1606 a, 1606 b, and 1606 c. The operations of comparisonare described in further detail below in reference to FIG. 21(b). Amatch between normalized motion sensor readings 1611 and any of themotion patterns 1606 a, 1606 b, and 1606 c can result in a recognitionof a gesture.

FIG. 21(b) is a diagram illustrating distance calculating operations ofdistance calculating subsystem 1618. To perform the comparison, distancecalculating subsystem 1618 can calculate a distance between thenormalized motion sensor readings 1611, which can include readings R1,Rn, and a motion pattern (e.g., motion pattern 1606 a, 1606 b, or 1606c), which can include motion vectors V1 . . . Vm. Distance calculatingsubsystem 1618 can calculate the distance using directed graph 1624 inoperations similar to those described in reference to FIG. 20.

In some implementations, distance calculating subsystem 1618 can performoptimization on the comparing. Distance calculating subsystem 1618 canperform the optimization by applying comparison thresholds 1626 and1628. Comparison thresholds 1626 and 1628 can define a series of vectorpairs between which distance calculating subsystem 1618 performs adistance calculation. By applying comparison thresholds 1626 and 1628,distance calculating subsystem 1618 can exclude those calculations thatare unlikely to yield a match. For example, a distance calculationbetween the first motion vector R1 in the normalized motion sensorreadings 1611 and a last motion vector Vm of a motion pattern isunlikely to lead to a match, and therefore can be omitted from thecalculations.

Distance calculating subsystem 1618 can determine a shortest path (e.g.,the path marked in bold lines) in directed graph 1624, and designate thecost of the shortest path as a distance between normalized motion sensorreadings 1611 and a motion pattern. Distance calculating subsystem 1618can compare the distance with a SOI associated with the motion pattern.If the distance is less than the SOI, distance calculating subsystem1618 can identify a match.

FIG. 22 is a flowchart illustrating exemplary process 1700 ofpattern-based gesture recognition. The process can be executed by asystem including a mobile device.

The system can receive (1702) multiple motion patterns. Each of themotion patterns can include a time series of motion vectors. Forclarity, the motion vectors in the motion patterns will be referred toas motion pattern vectors. Each of the motion patterns can be associatedwith an SOI. Each motion pattern vector can include a linearacceleration value, an angular rate value, or both, on each of multiplemotion axes. In some implementations, each of the motion pattern vectorscan include an angular rate value on each of pitch, roll, and yaw. Eachof the motion patterns can include gyroscope data determined based on agyroscope device of the mobile device, magnetometer data determinedbased on a magnetometer device of the mobile device, or gravimeter datafrom a gravimeter device of the mobile device. Each motion patternvector can be associated with a motion pattern time. In someimplementations, the motion pattern time is implied in the ordering ofthe motion pattern vectors.

The system can receive (1704) multiple motion sensor readings from amotion sensor built into or coupled with the system. The motion sensorreadings can include multiple motion vectors, which will be referred toas motion reading vectors. Each motion reading vector can correspond toa timestamp, which can indicate a motion reading time. In someimplementations, each motion reading vector can include an accelerationvalue on each of the axes as measured by the motion sensor, whichincludes an accelerometer. In some implementations, each motion readingvector can include a transformed acceleration value that is calculatedbased on one or more acceleration values as measured by the motionsensor. The transformation can include high-pass filtering,time-dimension compression, or other manipulations of the accelerationvalues. In some implementations, the motion reading time is implied inthe ordering of the motion reading vectors.

The system can select (1706), using a time window and from the motionsensor readings, a time series of motion reading vectors. The timewindow can include a specified time period and a beginning time. In someimplementations, transforming the acceleration values can occur afterthe selection stage. The system can transform the selected time seriesof acceleration values.

The system can calculate (1708) a distance between the selected timeseries of motion reading vectors and each of the motion patterns. Thisdistance will be referred to as a motion deviation distance. Calculatingthe motion deviation distance can include applying dynamic time warpingbased on the motion pattern times of the motion pattern and the motionreading times of the series of motion reading vectors. Calculating themotion deviation distance can include calculating a vector distancebetween (1) each motion reading vector in the selected time series ofmotion reading vectors, and (2) each motion pattern vector in the motionpattern. The system can then calculate the motion deviation distancebased on each vector distance. Calculating the motion deviation distancebased on each vector distance can include identifying a series of vectordistances ordered according to the motion pattern times and the motionreading times (e.g., the identified shortest path described above withrespect to FIG. 9B). The system can designate a measurement of thevector distances in the identified series as the motion deviationdistance. The measurement can include at least one of a sum or aweighted sum of the vector distances in the identified series. Thevector distances can include at least one of a Euclidean distancebetween a motion pattern vector and a motion reading vector or aManhattan distance between a motion pattern vector and a motion readingvector.

The system can determine (1710) whether a match is found. Determiningwhether a match is found can include determining whether, according to acalculated motion deviation distance, the selected time series of motionreading vectors is located within the sphere of influence of a motionpattern (e.g., motion pattern P).

If a match is not found, the system slides (1712) the time window alonga time dimension on the received motion sensor readings. Sliding thetime window can include increasing the beginning time of the timewindow. The system can then perform operations 1704, 1706, 1708, and1710 until a match is found, or until all the motion patterns have beencompared against and no match is found.

If a match is found, a gesture is recognized. The system can designatethe motion pattern P as a matching motion pattern. The system canperform (1714) a specified task based on the matching motion pattern.Performing the specific task can include at least one of: changing aconfiguration of a mobile device; providing a user interface fordisplay, or removing a user interface from display on a mobile device;launching or terminating an application program on a mobile device; orinitiating or terminating a communication between a mobile device andanother device. Changing the configuration of the mobile device includeschanging an input mode of the mobile device between a touch screen inputmode and a voice input mode.

In some implementations, before performing the specified task, thesystem can apply confirmation operations to detect and eliminate falsepositives in matching. The confirmation operations can include examininga touch-screen input device or a proximity sensor of the mobile device.For example, if the gesture is “picking up the device,” the device canconfirm the gesture by examining proximity sensor readings to determinethat the device is proximity to an object (e.g., a human face) at theend of the gesture.

FIG. 23 is a block diagram illustrating exemplary device architecture1800 of a device implementing the features and operations ofpattern-based gesture recognition. The device can include memoryinterface 1802, one or more data processors, image processors and/orprocessors 1804, and peripherals interface 1806. Memory interface 1802,one or more processors 1804 and/or peripherals interface 1806 can beseparate components or can be integrated in one or more integratedcircuits. Processors 1804 can include one or more application processors(APs) and one or more baseband processors (BPs). The applicationprocessors and baseband processors can be integrated in one singleprocess chip. The various components in a motion/movement/gesturedetection device, for example, can be coupled by one or morecommunication buses or signal lines.

Sensors, devices, and subsystems can be coupled to peripherals interface1806 to facilitate multiple functionalities. For example, motion sensor1810, light sensor 1812, and proximity sensor 1814 can be coupled toperipherals interface 1806 to facilitate orientation, lighting, andproximity functions of the motion/movement/gesture detection device.Location processor 1815 (e.g., GPS receiver) can be connected toperipherals interface 1806 to provide geo-positioning. Electronicmagnetometer 1816 (e.g., an integrated circuit chip) can also beconnected to peripherals interface 1806 to provide data that can be usedto determine the direction of magnetic North. Thus, electronicmagnetometer 1816 can be used as an electronic compass. Motion sensor1810 can include one or more accelerometers configured to determinechange of speed and direction of movement of the motion/movement/gesturedetection device. Gravimeter 1817 can include one or more devicesconnected to peripherals interface 1806 and configured to measure alocal gravitational field of Earth.

Camera subsystem 1820 and an optical sensor 1822, e.g., a chargedcoupled device (CCD) or a complementary metal-oxide semiconductor (CMOS)optical sensor, can be utilized to facilitate camera functions, such asrecording photographs and video clips.

Communication functions can be facilitated through one or more wirelesscommunication subsystems 1824, which can include radio frequencyreceivers and transmitters and/or optical (e.g., infrared) receivers andtransmitters. The specific design and implementation of thecommunication subsystem 1824 can depend on the communication network(s)over which a motion/movement/gesture detection device is intended tooperate. For example, a motion/movement/gesture detection device caninclude communication subsystems 1824 designed to operate over a CDMAsystem, a WiFi™ or WiMax™ network, and a Bluetooth™network. Inparticular, the wireless communication subsystems 1824 can includehosting protocols such that the motion/movement/gesture detection devicecan be configured as a base station for other wireless devices.

Audio subsystem 1826 can be coupled to a speaker 1828 and a microphone1830 to facilitate voice-enabled functions, ASR, such as voicerecognition, voice replication, digital recording, and telephonyfunctions

I/O subsystem 1840 can include touch screen controller 1842 and/or otherinput controller(s) 1844. Touch-screen controller 1842 can be coupled toa touch screen 1846 or pad. Touch screen 1846 and touch screencontroller 1842 can, for example, detect contact and movement or breakthereof using any of a plurality of touch sensitivity technologies,including but not limited to capacitive, resistive, infrared, andsurface acoustic wave technologies, as well as other proximity sensorarrays or other elements for determining one or more points of contactwith touch screen 1846.

Other input controller(s) 1844 can be coupled to other input/controldevices 1848, such as one or more buttons, rocker switches, thumb-wheel,infrared port, USB port, and/or a pointer device such as a stylus. Theone or more buttons (not shown) can include an up/down button for volumecontrol of speaker 1828 and/or microphone 1830.

In one implementation, a pressing of the button for a first duration maydisengage a lock of the touch screen 1846; and a pressing of the buttonfor a second duration that is longer than the first duration may turnpower to a motion/movement/gesture detection device on or off. The usermay be able to customize a functionality of one or more of the buttons.The touch screen 1846 can, for example, also be used to implementvirtual or soft buttons and/or a keyboard.

In some implementations, a motion/movement/gesture detection device canpresent recorded audio and/or video files, such as MP3, AAC, and MPEGfiles. In some implementations, a motion/movement/gesture detectiondevice can include the functionality of an MP3 player, such as an iPod™.A motion/movement/gesture detection device may, therefore, include a pinconnector that is compatible with the iPod. Other input/output andcontrol devices can also be used.

Memory interface 1802 can be coupled to memory 1850. Memory 1850 caninclude high-speed random access memory and/or non-volatile memory, suchas one or more magnetic disk storage devices, one or more opticalstorage devices, and/or flash memory (e.g., NAND, NOR). Memory 1850 canstore operating system 1852, such as Darwin, RTXC, LINUX, UNIX, OS X,WINDOWS, or an embedded operating system such as VxWorks. Operatingsystem 1852 may include instructions for handling basic system servicesand for performing hardware dependent tasks. In some implementations,operating system 1852 can include a kernel (e.g., UNIX kernel).

Memory 1850 may also store communication instructions 1854 to facilitatecommunicating with one or more additional devices, one or more computersand/or one or more servers. Memory 1850 may include graphical userinterface instructions 1856 to facilitate graphic user interfaceprocessing; sensor processing instructions 1858 to facilitatesensor-related processing and functions; phone instructions 1860 tofacilitate phone-related processes and functions; electronic messaginginstructions 1862 to facilitate electronic-messaging related processesand functions; web browsing instructions 1864 to facilitate webbrowsing-related processes and functions; media processing instructions1866 to facilitate media processing-related processes and functions;GPS/Navigation instructions 1868 to facilitate GPS andnavigation-related processes and instructions; camera instructions 1870to facilitate camera-related processes and functions; magnetometer data1872 and calibration instructions 1874 to facilitate magnetometercalibration. The memory 1850 may also store other software instructions(not shown), such as security instructions, web video instructions tofacilitate web video-related processes and functions, and/or webshopping instructions to facilitate web shopping-related processes andfunctions. In some implementations, the media processing instructions1866 are divided into audio processing instructions and video processinginstructions to facilitate audio processing-related processes andfunctions and video processing-related processes and functions,respectively. An activation record and International Mobile EquipmentIdentity (IMEI) or similar hardware identifier can also be stored inmemory 1850. Memory 1850 can include gesture recognition instructions1876. Gesture recognition instructions 1876 can be a computer programproduct that is configured to cause the motion/movement/gesturedetection device to recognize one or more gestures using motionpatterns, as described in reference to FIGS. 13-22.

Each of the above identified instructions and applications cancorrespond to a set of instructions for performing one or more functionsdescribed above. These instructions need not be implemented as separatesoftware programs, procedures, or modules. Memory 1850 can includeadditional instructions or fewer instructions. Furthermore, variousfunctions of the motion/movement/gesture detection device may beimplemented in hardware and/or in software, including in one or moresignal processing and/or application specific integrated circuits.

Exemplary Operating Environment

FIG. 24 is a block diagram of exemplary network operating environment1900 for the motion/movement/gesture detection devices implementingmotion pattern classification and gesture recognition techniques. Mobiledevices 1902(a) and 1902(b) can, for example, communicate over one ormore wired and/or wireless networks 1910 in data communication. Forexample, a wireless network 1912, e.g., a cellular network, cancommunicate with a wide area network (WAN) 1914, such as the Internet,by use of a gateway 1916. Likewise, an access device 1918, such as an802.11g wireless access device, can provide communication access to thewide area network 1914.

In some implementations, both voice and data communications can beestablished over wireless network 1912 and the access device 1918. Forexample, motion/movement/gesture detection device 1902(a) can place andreceive phone calls (e.g., using voice over Internet Protocol (VoIP)protocols), send and receive e-mail messages (e.g., using Post OfficeProtocol 3 (POP3)), and retrieve electronic documents and/or streams,such as web pages, photographs, and videos, over wireless network 1912,gateway 1916, and wide area network 1914 (e.g., using TransmissionControl Protocol/Internet Protocol (TCP/IP) or User Datagram Protocol(UDP)). Likewise, in some implementations, the motion/movement/gesturedetection device 1902(b) can place and receive phone calls, send andreceive e-mail messages, and retrieve electronic documents over theaccess device 1918 and the wide area network 1914. In someimplementations, motion/movement/gesture detection device 1902(a) or1902(b) can be physically connected to the access device 1918 using oneor more cables and the access device 1918 can be a personal computer. Inthis configuration, motion/movement/gesture detection device 1902(a) or1902(b) can be referred to as a “tethered” device.

Mobile devices 1902(a) and 1902(b) can also establish communications byother means. For example, wireless motion/movement/gesture detectiondevice 1902(a) can communicate with other wireless devices, e.g., othermotion/movement/gesture detection device s 1902(a) or 1902(b), cellphones, etc., over the wireless network 1912. Likewise,motion/movement/gesture detection device s 1902(a) and 1902(b) canestablish peer-to-peer communications 1920, e.g., a personal areanetwork, by use of one or more communication subsystems, such as theBluetooth™ communication devices. Other communication protocols andtopologies can also be implemented.

The motion/movement/gesture detection device 1902(a) or 1902(b) can, forexample, communicate with one or more services 1930 and 1940 over theone or more wired and/or wireless networks. For example, one or moremotion training services 1930 can be used to determine one or moremotion patterns. Motion pattern service 1940 can provide the one or moreone or more motion patterns to motion/movement/gesture detection devices 1902(a) and 1902(b) for recognizing gestures.

Mobile device 1902 (a) or 1902 (b) can also access other data andcontent over the one or more wired and/or wireless networks. Forexample, content publishers, such as news sites, Rally SimpleSyndication (RSS) feeds, web sites, blogs, social networking sites,developer networks, etc., can be accessed by motion/movement/gesturedetection device 1902(a) or 1902(b). Such access can be provided byinvocation of a web browsing function or application (e.g., a browser)in response to a user touching, for example, a Web object.

Exemplary System Architecture

FIG. 25 is a block diagram of exemplary system architecture forimplementing the features and operations of motion patternclassification and gesture recognition. Other architectures arepossible, including architectures with more or fewer components. In someimplementations, architecture 2000 includes one or more processors 2002(e.g., dual-core Intel® Xeon® Processors), one or more output devices2004 (e.g., LCD), one or more network interfaces 2006, one or more inputdevices 2008 (e.g., mouse, keyboard, touch-sensitive display) and one ormore computer-readable media 2012 (e.g., RAM, ROM, SDRAM, hard disk,optical disk, flash memory, etc.). These components can exchangecommunications and data over one or more communication channels 2010(e.g., buses), which can utilize various hardware and software forfacilitating the transfer of data and control signals betweencomponents.

The term “computer-readable medium” refers to any medium thatparticipates in providing instructions to processor 2002 for execution,including without limitation, non-volatile media (e.g., optical ormagnetic disks), volatile media (e.g., memory) and transmission media.Transmission media includes, without limitation, coaxial cables, copperwire and fiber optics.

Computer-readable medium 2012 can further include operating system 2014(e.g., Mac OS® server, Windows® NT server), network communicationsmodule 2016, motion data collection subsystem 2020, motionclassification subsystem 2030, motion pattern database 2040, and motionpattern distribution subsystem 2050. Motion data collection subsystem2020 can be configured to receive motion samples frommotion/movement/gesture detection device s. Motion classificationsubsystem 2030 can be configured to determine one or more motionpatterns from the received motion samples. Motion pattern database 2040can store the motion patterns. Motion pattern distribution subsystem2050 can be configured to distribute the motion patterns tomotion/movement/gesture detection device s. Operating system 2014 can bemulti-user, multiprocessing, multitasking, multithreading, real time,etc. Operating system 2014 performs basic tasks, including but notlimited to: recognizing input from and providing output to devices 2006,2008; keeping track and managing files and directories oncomputer-readable media 2012 (e.g., memory or a storage device);controlling peripheral devices; and managing traffic on the one or morecommunication channels 2010. Network communications module 2016 includesvarious components for establishing and maintaining network connections(e.g., software for implementing communication protocols, such asTCP/IP, HTTP, etc.). Computer-readable medium 2012 can further include adatabase interface. The database interface can include interfaces to oneor more databases on a file system. The databases can be organized undera hierarchical folder structure, the folders mapping to directories inthe file system.

Architecture 2000 can be included in any device capable of hosting adatabase application program. Architecture 2000 can be implemented in aparallel processing or peer-to-peer infrastructure or on a single devicewith one or more processors. Software can include multiple softwarecomponents or can be a single body of code.

The described features can be implemented advantageously in one or morecomputer programs that are executable on a programmable system includingat least one programmable processor coupled to receive data andinstructions from, and to transmit data and instructions to, a datastorage system, at least one input device, and at least one outputdevice. A computer program is a set of instructions that can be used,directly or indirectly, in a computer to perform a certain activity orbring about a certain result. A computer program can be written in anyform of programming language (e.g., Objective-C, Java), includingcompiled or interpreted languages, and it can be deployed in any form,including as a stand-alone program or as a module, component,subroutine, a browser-based web application, or other unit suitable foruse in a computing environment.

Suitable processors for the execution of a program of instructionsinclude, by way of example, both general and special purposemicroprocessors, and the sole processor or one of multiple processors orcores, of any kind of computer. Generally, a processor will receiveinstructions and data from a read-only memory or a random access memoryor both. The essential elements of a computer are a processor forexecuting instructions and one or more memories for storing instructionsand data. Generally, a computer will also include, or be operativelycoupled to communicate with, one or more mass storage devices forstoring data files; such devices include magnetic disks, such asinternal hard disks and removable disks; magneto-optical disks; andoptical disks. Storage devices suitable for tangibly embodying computerprogram instructions and data include all forms of non-volatile memory,including by way of example semiconductor memory devices, such as EPROM,EEPROM, and flash memory devices; magnetic disks such as internal harddisks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROMdisks. The processor and the memory can be supplemented by, orincorporated in, ASICs (application-specific integrated circuits).

To provide for interaction with a user, the features can be implementedon a computer having a display device such as a CRT (cathode ray tube)or LCD (liquid crystal display) monitor for displaying information tothe user and a keyboard and a pointing device such as a mouse or atrackball by which the user can provide input to the computer.

The features can be implemented in a computer system that includes aback-end component, such as a data server, or that includes a middlewarecomponent, such as an application server or an Internet server, or thatincludes a front-end component, such as a client computer having agraphical user interface or an Internet browser, or any combination ofthem. The components of the system can be connected by any form ormedium of digital data communication such as a communication network.Examples of communication networks include, e.g., a LAN, a WAN, and thecomputers and networks forming the Internet.

The computer system can include clients and servers. A client and serverare generally remote from each other and typically interact through anetwork. The relationship of client and server arises by virtue ofcomputer programs running on the respective computers and having aclient-server relationship to each other.

FIG. 26 illustrates a functional block diagram of a proximity sensor inone embodiment. As shown in FIG. 26, the proximity sensor 2101 includesa light emitter E and a light sensor R. The light emitter E includes alight-emitting diode LED used to emit lights. In one embodiment thelight-emitting diode LED can be an infrared ray light-emitting diode (IRLED) used to emit infrared rays, but is not limited to this.

In one embodiment, the light sensor R can be an integrated circuitincluding at least one light sensing unit and a control circuit. In FIG.26, the light sensor R includes a proximity sensing unit PS, an ambientlight sensing unit ALS, a sensed light processing unit 2110, ananalog/digital converter 2111, a temperature compensating unit 2112, adigital signal processing unit 2113, an inter-integrated circuit (I2C)interface 2114, a buffer 2115, a LED driver 2116, an oscillator 2117,and a reference value generator 2118. The proximity sensing unit PS andthe ambient light sensing unit ALS are coupled to the sensed lightprocessing unit 2110; the temperature compensating unit 2112 is coupledto the sensed light processing unit 2110; the analog/digital converter2111 is coupled to the sensed light processing unit 2110, the digitalsignal processing unit 2113, the I2C interface 2114, and the oscillator2117 respectively; the digital signal processing unit 2113 is coupled tothe analog/digital converter 2111, the I2C interface 2114, the buffer2115, the LED driver 2116, and the oscillator 2117 respectively; the I2Cinterface 2114 is coupled to the analog/digital converter 2111, thedigital signal processing unit 2113, the LED driver 2116, and thereference value generator 2118 respectively; the oscillator 2117 iscoupled to the analog/digital converter 2111, the digital signalprocessing unit 2113, and the reference value generator 2118respectively; the reference value generator 2118 is coupled to the I2Cinterface 2114 and the oscillator 2117 respectively.

In this embodiment, the ambient light sensing unit ALS is used to sensean ambient light intensity around the proximity sensor 2111. The sensedlight processing unit 2110 is used to process the light signal sensed bythe ambient light sensing unit ALS and the proximity sensing unit PS andto perform temperature compensation according to the temperaturecompensating unit 2112. The LED driver 2116 is used to drive thelight-emitting diode LED. The oscillator 2117 can be a quartzoscillator. The reference value generator 2118 is used to generate adefault reference value.

The user can use the I2C interface 2114 to set digital signal processingparameters needed by the digital signal processing unit 2113. When theobject is close to the light sensor R, the lights emitted from thelight-emitting diode LED will be reflected to the proximity sensing unitPS by the object, and then the reflected lights will be processed by thesensed light processing unit 2110 and converted into digital lightsensing signals by the analog/digital converter 2111. Then, the digitalsignal processing unit 2113 will determine whether the object is closeto the light sensor R according to the digital light sensing signal.

If the result determined by the digital signal processing unit 2113 isyes, the buffer 2115 will output a proximity notification signal toinform the electronic apparatus including the proximity sensor 2111 thatthe object is close to the electronic apparatus, so that the electronicapparatus can immediately make corresponding action. For example, asmart phone with the proximity sensor 2111 will know that the face ofthe user is close to the smart phone according to the proximitynotification signal; therefore, the smart phone will shut down the touchfunction of the touch monitor to avoid the touch monitor beingcarelessly touched by the face of the user.

However, the proximity sensor 2111 may have noise crosstalk problem dueto poor packaging or mechanical design, which may cause the digitalsignal processing unit 2113 to make a misjudgment, and in turn causingthe electronic apparatus, including the proximity sensor 2111, tomalfunction. For example, if when the face of the user is not close tothe smart phone, but the digital signal processing unit 2113 makes amisjudgment that an object is close to the smart phone, the smart phonewill shut down the touch function of the touch monitor, and the userwill not be able to user the touch function of the touch monitor.Therefore, the proximity sensor 2111 of this embodiment has threeoperation modes described as follows to solve the aforementionedmalfunction problem.

The first operation mode is a manual setting mode. After the electronicapparatus, including the proximity sensor 2111, is assembled as shown inFIGS. 27(a) and (b) under the condition that no object is close to theproximity sensor 2111 of the electronic apparatus, if the proximitysensing unit PS senses a first measured value C1 when the light-emittingdiode LED is active and emits the light L (see FIG. 27(a) and senses asecond measured value C2 when the light-emitting diode LED is inactive(see FIG. 27(b), since the second measured value C2 may include noiseand the first measured value C1 may include noise and noise cross-talk(e.g., the portion reflected by the glass G), the digital signalprocessing unit 2113 can subtract the second measured value C2 from thefirst measured value C1 to obtain an initial noise cross-talk value CTunder the condition that no object is close to the proximity sensor 2111of the electronic apparatus, and store the initial noise cross-talkvalue CT in a register (not shown in the figure) through the I2Cinterface 2114. The initial noise cross-talk value CT can be used as amaximum threshold value of noise cross-talk in the system.

It should be noticed that since no object is close to the proximitysensor 2111 of the electronic apparatus at this time, the initial noisecross-talk value CT obtained by the digital signal processing unit 2113should only include noise cross-talk values caused by the packaging andthe mechanical portion of the system. Therefore, after the initial noisecross-talk value CT is obtained, whenever the proximity sensor 2111tries to detect whether the object is close to the proximity sensor2111, the digital signal processing unit 2113 needs to subtract theinitial noise cross-talk value CT from the measured value to effectivelyreduce the effect of noise cross-talk.

The second operation mode is an automatic setting mode. Whenever theelectronic apparatus, including the proximity sensor 2111, is active,the proximity sensor 2111 can obtain the initial noise cross-talk valueCT by subtracting the second measured value C2 from the first measuredvalue C1 as mentioned above, and the initial noise cross-talk value CTcan be used as a standard to determine that the sensed value is noise,noise cross-talk, or light signal reflected by the object.\

As shown in FIG. 27(c) through FIG. 27(f), after the electronicapparatus including the proximity sensor 2111 is active, the object 2may be close to the proximity sensor 2111 of the electronic apparatus,and the object 2 may be located in the detection range of the proximitysensor 2111. If the proximity sensing unit PS senses a third measuredvalue C3 when the light-emitting diode LED is active and emits the lightL and senses a fourth measured value C4 when the light-emitting diodeLED is inactive. Since the fourth measured value C4 may include thenoise, and the third measured value C3 may include the noise, the noisecross-talk, and the light signal reflected by the object 2, the digitalsignal processing unit 2113 can obtain a specific measured value M bysubtracting the fourth measured value C4 from the third measured valueC3, and the specific measured value M represents the noise cross-talkand the light signal reflected by the object 2.

Next, the digital signal processing unit 2113 determines whether thespecific measured value M is larger than the initial noise cross-talkvalue CT. If the result determined by the digital signal processing unit2113 is no, it means that the specific measured value M (the noisecross-talk and the light signal reflected by the object 2) at this timeis smaller than the initial noise cross-talk value CT. Therefore, theproximity sensor 2111 needs to replace the initial noise cross-talkvalue CT stored in the register with the specific measured value Mthrough the I2C interface 2114. Afterwards, when the proximity sensor2111 detects whether any object is close to the proximity sensor 2111again, the updated initial noise cross-talk value (the specific measuredvalue M) will be used as a standard of determination.

If the result determined by the digital signal processing unit 2113 isyes, it means that the specific measured value M (the noise cross-talkand the light signal reflected by the object 2) at this time is largerthan the initial noise cross-talk value CT. Therefore, it is unnecessaryto update the initial noise cross-talk value CT stored in the register.Then, the digital signal processing unit 2113 will subtract the initialnoise cross-talk value CT from the specific measured value M to obtainthe reflection light signal value N of the object 2.

Afterwards, in order to determine whether the object 2 is located in thedetection range of the proximity sensor 2111, that is to say, todetermine whether the object 2 is close enough to the proximity sensor2111, the digital signal processing unit 2113 compares the reflectionlight signal value N of the object 2 with a default value NO todetermine whether the reflection light signal value N of the object 2 islarger than the default value NO. It should be noted that the defaultvalue NO is the object detecting threshold value detected by theproximity sensor 2111 when the object 2 is located at the boundary SB ofthe detection range of the proximity sensor 2111.

If the result determined by the digital signal processing unit 2113 isyes, that is to say, the reflection light signal value N of the object 2is larger than the default value NO, it means that the strength of thelight reflected by the object 2, reflecting the light of thelight-emitting diode LED, is stronger than the strength of the lightreflected by the object located at the boundary SB of the detectionrange of the proximity sensor 2111, also reflecting the light of thelight-emitting diode LED. Therefore, the proximity sensor 2111 knowsthat the object 2 is located in the detection range of the proximitysensor 2111; that is say; the object 2 is close enough to the proximitysensor 2111, as shown in FIG. 27(c) and FIG. 27(d). At this time, thebuffer 2115 will output a proximity notification signal to inform theelectronic apparatus, including the proximity sensor 2111, that theobject 2 is approaching, so that the electronic apparatus canimmediately make corresponding actions. For example, the electronicapparatus can shut down the touch function of its touch monitor.

If the result determined by the digital signal processing unit 2113 isno, that is to say, the reflection light signal value N of the object 2is not larger than the default value NO, it means that the strength ofthe light reflected by the object 2, reflecting the light of thelight-emitting diode LED, is not stronger than the strength of the lightreflected by the object located at the boundary SB of the detectionrange of the proximity sensor 2111, reflecting the light of thelight-emitting diode LED. Therefore, the proximity sensor 2111 knowsthat the object 2 is not located in the detection range of the proximitysensor 2111; that is to say, the object 2 is not close enough to theproximity sensor 2111, as shown in FIGS. 27(e) and 27(f). Therefore, thebuffer 2115 will not output the proximity notification signal to informthe electronic apparatus, including the proximity sensor 2111, that theobject 2 is approaching, and the electronic apparatus will not makecorresponding actions such as shutting down the touch function of itstouch monitor.

The third operation mode is a selection setting mode. The user can usethe I2C interface 2114 to set a control bit for the user to freelychoose between the manual setting mode and the automatic setting mode toreduce the effect of the noise crosstalk.

Another preferred embodiment of the invention is a proximity sensoroperating method. FIG. 28 illustrates a flowchart of the proximitysensor operating method in this embodiment.

As shown in FIG. 28, in the step S30, the method detects whether anobject is close by to the proximity sensor to obtain a measured value.Then, in the step S32, the method compares the measured value with aninitial noise cross-talk value to determine whether the initial noisecross-talk value should be updated. Wherein, the initial noisecross-talk value is obtained by the proximity sensor operated under themanual setting mode. Under the manual setting mode, the proximity sensorobtains a first measured value when the light emitter is active and asecond measured value when the light emitter is inactive, and subtractsthe second measured value from the first measured value to obtain aninitial noise cross-talk value.

If the result determined by the step S32 is yes, the method will performthe step S34, not to update the initial noise cross-talk value. If theresult determined by the step S32 is no, the method will perform thestep S36 to compare the measured value with a default value to determinewhether the object is located in a detection range of the proximitysensor. Wherein, the default value is the object detecting thresholdvalue detected by the proximity sensor when the object is located at theboundary of the detection range of the proximity sensor.

If the result determined by the step S36 is yes, the method will performthe step S38 to determine that the object is located in the detectionrange of the proximity sensor. If the result determined by the step S36is no, the method will perform the step S39 to determine that the objectis not located in the detection range of the proximity sensor.

FIGS. 29(a) and (b) illustrate flowcharts of the proximity sensoroperating method in another embodiment. As shown in FIGS. 29(a) and (b),in the step S40, the method selects either the manual setting mode orthe automatic setting mode to operate the proximity sensor. If themanual setting mode is selected, under the condition that no object isclose by to the proximity sensor of the electronic apparatus, the methodperforms the step S41 to detect a first measured value C1 when the LEDis active and emit lights and the step S42 to detect a second measuredvalue C2 when the LED is inactive.

Since the second measured value C2 may include noise and the firstmeasured value C1 may include noise and noise cross-talk, in the stepS43, the method subtracts the second measured value C2 from the firstmeasured value C1 to obtain an initial noise cross-talk value CT andstore the initial noise cross-talk value CT in a register, and theinitial noise cross-talk value CT is used as a maximum threshold valueof noise cross-talk in the system.

If the automatic setting mode is used, after the electronic apparatus,including the proximity sensor, is active, the object may be close tothe proximity sensor of the electronic apparatus. The method performsthe step S44 to detect a third measured value C3 when the LED is activeand emit lights and the step S45 to detect a fourth measured value C4when the LED is inactive. Since the fourth measured value C4 may includethe noise, and the third measured value C3 may include the noise, thenoise cross-talk, and the light signal reflected by the object.Therefore, in the step S46, the method obtains a specific measured valueM by subtracting the fourth measured value C4 from the third measuredvalue C3, and the specific measured value M represents the noisecross-talk and the light signal reflected by the object.

In step S47 the method determines whether the specific measured value Mis larger than the initial noise cross-talk value CT. If the resultdetermined by the step S47 is no, it means that the specific measuredvalue M (the noise cross-talk and the light signal reflected by theobject 2) at this time is smaller than the initial noise cross-talkvalue CT. Therefore, in the step S48, the method uses the specificmeasured value M to replace the initial noise cross-talk value CT; sothat the specific measured value M can be used as an updated initialnoise cross-talk value. Later, when the method performs the step S47again, the updated initial noise cross-talk value (the specific measuredvalue M) will be used to compare with another specific measured value M′obtained by the method performing the step S46 again to determinewhether the specific measured value M′ is larger than the updatedinitial noise cross-talk value (the specific measured value M).

If the result determined by the step S47 is yes, it means that thespecific measured value M (the noise cross-talk and the light signalreflected by the object) at this time is larger than the initial noisecross-talk value CT. Therefore, it is unnecessary to update the initialnoise cross-talk value CT stored in the register. In the step S50, themethod will subtract the initial noise cross-talk value CT from thespecific measured value M to obtain the reflection light signal value Nof the object.

Afterwards, in order to determine whether the object is located in thedetection range of the proximity sensor; that is to say, to determinewhether the object is close enough to the proximity sensor, in the stepS51, the method will compare the reflection light signal value N of theobject with a default value NO to determine whether the reflection lightsignal value N of the object is larger than the default value NO. Itshould be noted that the default value NO is the object detectingthreshold value detected by the proximity sensor when the object islocated at the boundary of the detection range of the proximity sensor.

If the result determined by the step S51 is yes, that is to say, thereflection light signal value N of the object is larger than the defaultvalue NO, it means that the strength of the reflected light generated bythe object reflecting the light of the LED is stronger than the strengthof the reflected light generated by the strength of the reflected lightgenerated by the object located at the boundary of the detection rangeof the proximity sensor reflecting the light of the LED. Therefore, inthe step S52, the method determines that the object is located in thedetection range of the proximity sensor; that is say, the object isclose enough to the proximity sensor. At this time, the proximity sensorwill output a proximity notification signal to inform the electronicapparatus that the object is approaching, so that the electronicapparatus can immediately make corresponding action.

If the result determined by the step S51 is no, that is to say, thereflection light signal value N of the object is not larger than thedefault value NO, it means that the strength of the light reflected bythe object, reflecting the light of the LED, is not stronger than thestrength of the light reflected by the object located at the boundary ofthe detection range of the proximity sensor, also reflecting the lightof the LED. Therefore, in the step S53, the method determines that theobject is not located in the detection range of the proximity sensor;that is to say, the object is not close enough to the proximity sensor.Therefore, the buffer will not output the proximity notification signalto inform the electronic apparatus that the object is approaching.

Particle Detection

FIG. 30 is a schematic view showing a configuration of a particledetector according in one embodiment. An apparatus 2210 has a chamber2212 surrounded by a wall 2211, and the chamber 2212 has an inlet 2213for taking air from the outside and an outlet 2214 for discharging air.In order to take air and generate airflow at a particle detectionposition as later described, an airflow generating/controlling device2215 is provided on the inner side of the inlet 2213. Even when theairflow generating/controlling device 2215 is not turned on, air canflow between the inlet 2213 and outlet 2214.

As the airflow generating/controlling device 2215, a small fan istypically used. However, in order to generate airflow in a risingdirection opposite to the gravity, an air heating device such as aheater may be used. Air entered from the inlet 2213 into the chamber2212 passes through the inside of the chamber 2212 and is guided to theoutlet 2214. Though not shown, airflow guide means having, for example,a cylindrical shape may be provided between the inlet 2213 and theoutlet 2214. Further, a filter may be installed at a prior stage to theairflow generating/controlling device 2215 to prevent the entry ofparticles having a size greater than target fine particles.

The apparatus 2210 also includes means for detecting a particle. Thatmeans includes a light source 2220 and a detection device 2230. In thisembodiment, the light source 2220 and the detection device 2230 arearranged horizontally in an opposing manner. This allows the detectiondevice 2230 to directly receive light from the light source 2220, andthe light source 2220 and the detection device 2230 are configured topass the airflow generated by the airflow generating/controlling device2215 between them.

The light source 2220 is composed of a light-emitting element 2221 andan optical system 2222 including a lens. The light-emitting element 2221may be typically composed of a semiconductor light-emitting element suchas a laser diode or a light-emitting diode capable of emitting coherentlight. If the degree of sensitivity is not pursued, other light-emittingelement may be used. However, a light-emitting element capable ofemitting light with a certain degree of directional characteristics isdesired from the viewpoint of device design.

On the other hand, the detection device 2230 is composed of aphotodetector 2231 and an optical system 2232 including a lens. As thephotodetector 2231, an image sensor such as a CMOS image sensor or a CCDimage sensor may be used. The photodetector 2231 is configured so as tooutput a detection signal to an external analyzer 2240.

Light emitted from the light emitting-element 2221 passes through theoptical system 2222, and is illuminated to a gas to be measured. In oneembodiment, light emitted from the light emitting-element 21 issubstantially collimated by the optical system 2222. The light passingthrough the gas in the measurement area is collected by the opticalsystem 2232 in the detection device 2230, and detected as an image by animage sensor 31. The image sensor 31 outputs a signal of the image tothe analyzer 2240.

Optical dimensions of the lens in the optical system 2222, such as afocal length, can be determined based on a radiation angle of light fromthe light-emitting element 2221 and a diameter of fine particles to bemeasured. Specifically, it is necessary to select a focal length of thelens so that a light flux has a diameter several times larger than thesize of the fine particles to be measured. For example, in measuringfine particles having a size of approximately 100 micrometers, it isnecessary to illuminate light in such a way that the light has adiameter of not less than several hundred micrometers, so as to keep thesensitivity of the entire system. However, if light is illuminated to alarge area, the power of transmitted light to be detected decreases,resulting in a degraded signal/noise ratio. Therefore, optimization maybe necessary.

FIG. 31 is a time chart showing the timing of the operation of the lightemitting-element and the exposure of the image sensor. The lightemitting-element 2221 such as a laser diode is made to generate lightpulses rather than continuous light (CW) for the purpose of reducingpower consumption. The cycle (T) of a light pulse and a time period (ΔT)for illumination are properly selected from the moving speed of fineparticles to be measured. If the cycle T is too long, problems may arisethat, for example, fine particles themselves may not be detected or acaptured image becomes blurred. If the cycle T is too short, the lightapplication time ΔT is also short and thus there is a drawback that thesignal/noise ratio is degraded.

In FIG. 30, the exposure time of the image sensor 2231 is the same asthat of the light emitting-element 2221. This period is optimized bytaking into consideration the signal/noise ratio of the entire system.The number of pixels of the image sensor mainly depends upon the size offine particles to be measured. If the size of fine particles to bemeasured is from 1 micrometer to 100 micrometers, the number of pixelsmay be approximately 10,000.

Hereafter, an algorithm for detecting smoke particles, dust and pollenwill be described. This method is not limited to the present embodiment,any may be applied to apparatus according to second and thirdembodiments described later.

Here, an output taken by the image sensor along x-axis (i-th) and y-axis(j-th) is indicated as V (i,j). Depending on the configuration of afocal length of a lens, there may be a difference in an output of theimage sensor per pixel. Therefore, calibration is carried out at thebeginning to adjust all of the pixels so that offset and sensitivityfall within a certain range. This adjustment may be carried out byhardware means or software means. In the following description, V (i,j)is an output value after the adjustment is carried out.

First, a state without the presence of obstacles, such as smokeparticles, dust and pollen, is considered. In this case, transmittedlight is detected directly by the image sensor without scattering, andthus its output V_non (i,j) has a very small variance σ_non for theentire pixels.

When any of fine particles such as smoke particles, dust or pollen isentered, light is scattered thereby, resulting in a reduction in anamount of transmitted light. This enables to detect the fine particles.A predetermined value V_noise is set by taking into accounts thestability of LD inside the detection apparatus, shot noises which mayoccur in the image sensor, noises in amplifier circuitry, and thermalnoises. If this value is exceeded, it is determined that a signal issupplied. While the fine particles may be introduced by generatingairflow, natural diffusion or natural introduction of particles may beutilized without generating the airflow.

When it is determined that a signal is supplied, smoke particles, dustand pollen are distinguished in accordance with the following procedure.

1. When it is determined that a signal is supplied to all of the pixels,that is determined to be attributable to smoke particles.

In other words, whenV(i,j)<V_non−V_detect−1

is valid for all of the pixels, smoke particles are identified. Here,V_detect−1 is a constant threshold larger than V_noise. Even if verylarge particles are introduced, the signal is detected in all of thepixels. However, as stated previously, in this case, such particles areremoved in advance by a filter. Further, a concentration of the smoke isidentified depending on an intensity of the signal.

2. When part of pixels has responded, dust or pollen is identified.Binarization is carried out to identify a portion shielded by fineparticles. FIG. 28 is a view schematically showing such binarization.For example, if a dust has a size and shape as shown in (a), that isidentified by binarization as an image as shown in (b). V_detect−2 areused as a parameter for performing the binarization, and pixels thatoutput a signal exceeding this threshold V_detect−2 are counted. Thecount number is proportional to a light-shielding cross-sectional areaby the fine particles, with respect to the incident light. On the basisof the counted pixel number, fine particles of 20 micrometers or less or50 micrometers or more are identified as dust.

3. When the result of the above size measurement of the fine particlesindicates that the particles are determined to have a size from 20micrometer to 50 micrometer, it is possible that the particles arepollen. Therefore, in such a case, determination by a further method isnecessary. In general, since dust is lighter than pollen, dust has ahigher moving speed in airflow than pollen. Therefore, the moving speedof floating particles is calculated. When the moving speed of theparticles is at a predetermined level or higher, those particles aredetermined to be dust, and otherwise they are determined to be pollen.When the airflow is not rising and the fine particles flow from top todown, the particles having a higher moving speed is considered pollenand slow particles are considered dust.

The speed value is obtained by taking two images at successive units oftime, and calculating from a moving distance between the images and aframe time.

FIGS. 32(a) and (b) are views showing schematized image information of abinarized particle image.

FIGS. 33(a) and (b) show temporal a change in a binarized image signal.In this example, it is recognized that a particle is moving upwardly. Inorder to recognize movement of particles from image information, acorrelation value conventionally used in related technology can beutilized. As a result of determining the moving speed, when it is notlower than or not higher than a predetermined speed, the particles canbe identified as dust or pollen, respectively.

In this description, detection of fine particles such as dust and pollenhas been mainly described. However, by improving the analyticalalgorithm of the present apparatus, it is possible to produce ahistogram of passing particles over a certain period in terms of size orweight of fine particles contained in an introduced gas. From thisresult, it is possible to analyze what types of fine particles exist ina room or in the open air.

FIG. 35 is a view describing a modified embodiment of the photodetector.In the aforementioned embodiment, the image sensor as a photodetector isprovided with detection elements in the form of a matrix ofapproximately 100×100. However, a photodetector is not necessarilyprovided with a matrix of detection elements, and a photodetector havingdetection elements 51 disposed in a striped form may be used. That is,in this apparatus, when airflow is generated, the moving direction offine particles is considered to run along a direction of the airflow.Therefore, detection of particles as in the foregoing embodiment ispossible, by utilizing a photodetector 2250 having a stripedconfiguration wherein elongated detection elements 2251 are extended ina direction perpendicular to the moving direction of the fine particles.

FIGS. 34(a) and (b) show particle detection at different times when thephotodetector 50 is used. In each figure, a positional relation betweenthe photodetector and a particle is shown on the left and output valuesare shown on the right. FIG. 34(a) shows an initial state and FIG. 34(b)show a state after a predetermined time period after the state of FIG.34(a). Each of the detection elements 2251 constituting a stripe canoutput a signal which is substantially proportional to the area of animage. Therefore, by establishing and comparing the output values, theposition of a particle at that time and a particle moving speed may bedetermined. For example, when data obtained from the individualstripe-shaped light detection elements 2251 is processed using a spatialfilter as in a sensing device, the size and the moving speed of the fineparticle can be easily obtained. In this case, however, there is acertain tradeoff between the particle size and the moving speed.

This method can reduce an amount of data to be processed, compared witha case wherein an image sensor in the form of a matrix is used, andtherefore this method is advantageous in that data processing can beperformed more easily and rapidly.

FIG. 36 is a schematic view showing the configuration of a particledetection apparatus according to a second embodiment of the presentinvention. In the first embodiment, a particle detection apparatusutilizing transmitted light was described. However, with a method ofmeasuring reflected light or scattered light as described in FIG. 6, itis possible to detect smoke particles, dust and pollen. The descriptionof operation of each component is omitted by attaching thereto areference numeral which is greater by 100 than the numeral reference ofa corresponding component shown in FIG. 30.

Regarding the positional relation between a light source 2320 and adetection device 2330, they are disposed on opposite sides of airflow,but they are not necessarily disposed in such a way. For example, thelight source and the detection device may be disposed on the same sideof the airflow, and in that case, light from the light source may beilluminated from either an upstream side or a downstream side of theairflow. Further, the light source and the detection device are disposedin a plane that is orthogonal to the airflow, and they may be disposednot linearly like that of FIG. 30, but in a tilted direction within theplane.

In the apparatus according to the first embodiment, as transmissionlight is always incident, it has to keep a certain level of an inputrange. As a result, measurements may not always be performed properly.In contrast, in accordance with the detection system of the secondembodiment, a dynamic range of the image sensor of the apparatus can beutilized to advantage. Therefore, it is advantageously suitable for ahigh sensitive measurement of fine particles.

This apparatus is applicable to systems that detect fine particlesincluding dust, pollen and smoke particles, such as an air cleaner, anair conditioner, a vacuum cleaner, an air fan, a fire alarm, a sensorfor environmental measurement and a fine particle detection apparatus ina clean room.

Temperature Sensor

FIG. 36 is a block diagram illustrating an embodiment of the IRthermometer 2410. This embodiment includes an IR sensor package/assembly2412, distance sensor 2414, a microprocessor 2416 and a memory 2418.

In one embodiment one or more sensors, which can be in an assembly 2412includes a sensor. In one embodiment a sensor and a temperature sensoris provided. As a non-limiting example, the sensor can be an IR sensor.In one embodiment the sensor is an IR sensor. In one embodiment atemperature sensor senses the temperature of the sensor and/or thetemperature of the ambient environment. The sensor is configured tocapture thermal radiation emanating from a target object or target bodypart, e.g., a person's forehead, armpit, ear drum, etc., which isconverted into an electrical temperature signal and communicated, alongwith a signal regarding the temperature of the sensor as measured by thetemperature sensor, to microprocessor 2416, as is known in the art.Distance sensor 2414 is configured to emit radiation from IR thermometer2410 and to capture at least a portion of the emitted radiationreflected from the target, which is converted into an electricaldistance signal and communicated to microprocessor 2416. Microprocessor2416 is configured to, among other things, determine a temperature valueof the target based on the signal from sensor package/assembly 2412,determine an ambient environment or thermometer temperature, and todetermine a distance value corresponding to the distance betweenthermometer 2410 and the target using a correlation routine based on thesignal from distance sensor 2414 and the characteristics of thereflected radiation. In various embodiments, the temperature signal,distance signal, temperature value, distance value, or any combinationthereof may be stored in memory 2418.

Memory 2418 includes therein predetermined compensation information.This predetermined compensation information may be empiricallypredetermined by performing clinical tests. These clinical tests mayrelate the detected temperature of a target (e.g., forehead), thedistance of the thermometer from the target, as well as the actualtemperature of the target and the ambient environment or thermometertemperature. These clinical tests may further relate the temperature ofthe target, either the detected temperature, the actual temperature, orboth, to, e.g., an actual oral or oral-equivalent temperature.Accordingly, target temperatures of various persons having oraltemperatures between, e.g., 94° Fahrenheit to 108° Fahrenheit, may bemeasured using a thermometer at various known distances from thetargets, e.g., from 0 centimeters (i.e., thermometer contacts target) to1 meter, in increments of, e.g., 1 centimeter, 5 centimeters, or 10centimeters. In some embodiments, the range of distances corresponds toa range of distances over which thermometer 2410 may be operational.Additionally, these measurements may be conducted in environments havingvarious ambient temperatures between, e.g., 60° Fahrenheit to 90°Fahrenheit. These data may be used to create compensation information,such as a look-up table or mathematical function, whereby a compensatedtemperature of the target may subsequently be determined from a measureddistance value, e.g., using distance sensor 2414, a measured targettemperature value, e.g., using IR sensor package or assembly 2412, and,in some embodiments, an ambient environment temperature value and/orthermometer temperature value. In other embodiments, data relating toactual oral or oral-equivalent temperatures may be further used tocreate the compensation information, whereby a compensated oral orcompensated oral-equivalent temperature may be determined from ameasured distance value, a measured target temperature value, and, insome embodiments, an ambient environment temperature value and/orthermometer temperature value.

For example, where d is defined as a distance between the target andthermometer 2410, the predetermined compensation information forobtaining a compensated temperature in degrees Fahrenheit may be alinear function or functions defined by the following relationships:Compensated Temperature=Target Temperature+A*d+BOrCompensated Temperature=Target Temperature+C*d+D{for 0<d≤Y}, andCompensated Temperature=Target Temperature+E*d+F{for Y<d≤Z},

Where A, C, and E are coefficients having dimensions ofTemperature/Length; B, D and F are coefficients having dimensions ofTemperature; and Y and Z are distances from the target. Values of A, B,C, D, E, F, Y, and Z may be determined empirically from clinical tests.For purposes of illustration and not limitation, the following exemplaryand approximate values for the coefficients and distances are provided:A=0.05, B=0.1, C=0.05, D=0.2, E=0.15, F=0.1, Y=15, and Z=30. However, aswill be recognized by persons having ordinary skill in the art, othervalues for each coefficient and distance may be used depending onvarious design features and aspects of a thermometer 2410.

It is also possible for the mathematical function to be of a higherdegree or order, for example, a mathematical function that is non-linearwith respect to the measured distance to obtain the compensatedtemperature, such as the following quadratic equation:Compensated Temperature=Target Temperature+G*d2−H*d+L

Where G, H, and L are coefficients determined from the clinical tests.For purposes of illustration and not limitation, the following exemplaryand approximate values for the coefficients are provided: G=0.001,H=0.15, and L=0.1. However, as will be recognized by persons havingordinary skill in the art, other values for each coefficient may be useddepending on various design features and aspects of thermometer 2410.

The compensation information may alternatively be provided as variousoffset values, whereby, for each distance increment or range ofdistances from the target surface, there is a corresponding offsetvalue. In various embodiments, these offsets may be fixed for each ofthe distance increments or range of distances from the target surface.For example, in various embodiments, the offset value may be, e.g., anyone of 0.1° F., 0.2° F., or 0.5° F. over a range of distances from thetarget surface such as 0 cm to 5 cm, 0 cm to 20 cm, or 5 cm to 30 cm.For example, in one embodiment, the offset value may be 0.0° F. from 0.0cm to 0.1 cm, 0.1° F. from 0.1 cm to 3.0 cm, 0.2° F. from 3.0 cm to 15cm, and 0.5° F. from 15.1 cm to 30 cm. Alternatively, the compensationinformation may be in the form of a single, e.g., “best-fit,” offsetvalue that may be used to determine a compensated temperature from anyof the target temperatures over a distance range, either the entiredistance range recited above or a portion thereof. For example, the“best-fit” offset value may be, e.g., any one of 0.1° F., 0.2° F., or0.5° F. For example, in one embodiment, the offset value may be 0.1° F.over the distance range from 0.0 cm to 10 cm, and 0.0° F. for greaterdistances. In other embodiments, the offset value may be 0.1° F. overthe distance range from 0.0 cm to 30 cm, and 0.0° F. for distancesgreater than 30 cm.

In other embodiments, the compensation information may be in the form ofa look-up table, which may be devised from predetermined informationcollected during clinical tests, such as actual target temperature,measured target temperature, ambient environment and/or thermometertemperature, and distance measurements, such that, subsequently, acompensated temperature may be determined by identifying in the look-uptable those values that best correspond to the measured distance andmeasured target-temperature values. In the event of an imperfect matchbetween the measured values and the table values, the closest tablevalues may be used, or, additional values interpolated from the tablevalues may be used. In other embodiments, the compensation informationmay include a combination of more than one of the approaches (e.g.,mathematical function, offset value, look-up table) described above

Further, as noted above, the ambient environment temperature valueand/or thermometer temperature value may be used in generatingcompensation information. It may be beneficial to include these valuesas factors in the compensation information because these values mayincrease the accuracy of a compensated temperature calculated based onthe compensation information. For example, the above discussedmathematical functions may be modified based on ambient environmenttemperature and/or thermometer temperature. For example, a first “bestfit” offset value (e.g., 0.1° F.) may be used when the ambienttemperature is within a first range of temperatures (e.g., 60° F. to 75°F.), and a second “best fit” offset value (e.g., 0.2° F.) may be usedwhen the ambient temperature is within a second range of temperatures(e.g., 75° F. and 90° F.).

Microprocessor 2416 is configured to use a temperature valuecorresponding to a target and a distance value corresponding to thedistance between thermometer 2410 and the target to determine acompensated temperature using the predetermined compensation informationstored in memory 2418. In some embodiments, Microprocessor 2416 may befurther configured to use an ambient and/or thermometer temperature inthis determination. In some embodiments, the predetermined compensationinformation may be based in part on ambient and/or thermometertemperature. In those embodiments where the predetermined compensationinformation includes predetermined information concerning oral ororal-equivalent temperatures, Microprocessor 2416 may be furtherconfigured to determine a compensated temperature corresponding to anoral or oral-equivalent temperature.

Microprocessor 2416 may further store one or more compensatedtemperature values in memory 2418. In various embodiments, themicroprocessor is further configured to interpolate additional valuesfrom any values stored in a look-up table in memory 2418.

Referring to FIG. 37, the flow chart shows an embodiment of a method fordetermining a compensated temperature based on a measured temperature ofa target on that person, e.g., that person's forehead. In step 2502, theprocess for determining the compensated temperature starts, e.g., by theuser depressing a start button to, e.g., activate thermometer 2410. Instep 2504, distance sensor 2414 is used to emit radiation and capturereflected radiation from a target to generate a distance signal, whichis communicated to microprocessor 2416. Microprocessor 2416 determines adistance value from the distance signal, which microprocessor 2416 maystore in memory 2418. In step 2506, sensor package/assembly 2412 is usedto capture thermal radiation emanating from the target to generate atemperature signal, and, optionally, to capture an ambient and/orthermometer temperature, which are communicated to microprocessor 2416.Microprocessor 2416 determines a temperature value from the temperaturesignal, which microprocessor 2416 may store in memory 2418. In optionalstep 2508, which is performed when the predetermined compensationinformation includes a look-up table, microprocessor 2416 determines arelationship between the distance value and the temperature values usingpredetermined compensation information. In step 2510 microprocessor 16determines a compensated temperature value based on the predeterminedcompensation information. In step 2512, microprocessor 2416 stores thecompensated temperature in memory 2418. In step 2514, the compensatedtemperature value is communicated.

Humidity Sensor

Absolute humidity is the total amount of water vapor present in a givenvolume of air. It does not take temperature into consideration. Absolutehumidity in the atmosphere ranges from near zero to roughly 30 grams percubic meter when the air is saturated at 30° C.

Absolute humidity is the mass of the water vapor (m_(w)), divided by thevolume of the air and water vapor mixture (P_(net)), which can beexpressed as:

${AH} = {\frac{m_{w}}{p_{net}}.}$

The absolute humidity changes as air temperature or pressure changes.This makes it unsuitable for chemical engineering calculations, e.g. forclothes dryers, where temperature can vary considerably. As a result,absolute humidity in chemical engineering may refer to mass of watervapor per unit mass of dry air, also known as the mass mixing ratio (see“specific humidity” below), which is better suited for heat and massbalance calculations. Mass of water per unit volume as in the equationabove is also defined as volumetric humidity. Because of the potentialconfusion, British Standard BS 1339 (revised 2002) suggests avoiding theterm “absolute humidity”. Units should always be carefully checked. Manyhumidity charts are given in g/kg or kg/kg, but any mass units may beused.

The field concerned with the study of physical and thermodynamicproperties of gas-vapor mixtures is named psychrometrics.

The relative humidity (ϕ) of an air-water mixture is defined as theratio of the partial pressure of water vapor (H2O) (e_(w)) in themixture to the saturated vapor pressure of water (e*_(w)) at a giventemperature. Thus the relative humidity of air is a function of bothwater content and temperature.

Relative humidity is normally expressed as a percentage and iscalculated by using the following equation:[5]

$\phi = {\frac{e_{w}}{e_{w}^{*}} \times 100\%}$

Relative humidity is an important metric used in weather forecasts andreports, as it is an indicator of the likelihood of precipitation, dew,or fog. In hot summer weather, a rise in relative humidity increases theapparent temperature to humans (and other animals) by hindering theevaporation of perspiration from the skin. For example, according to theHeat Index, a relative humidity of 75% at 80.0° F. (26.7° C.) would feellike 83.6° F.±1.3° F. (28.7° C.±0.7° C.) at −44% relative humidity.

Specific humidity:

Specific humidity (or moisture content) is the ratio of water vapor mass(m_(v)) to the air parcel's total (i.e., including dry) mass (m_(a)) andis sometimes referred to as the humidity ratio.[8] Specific humidity isapproximately equal to the “mixing ratio”, which is defined as the ratioof the mass of water vapor in an air parcel to the mass of dry air forthe same parcel.

Specific Humidity is defined as:

${SH} = {\frac{m_{v}}{m_{a}}.}$

Specific humidity can be expressed in other ways including:

${SH} = \frac{0.622p_{({H_{2}O})}}{p_{({{dry}\mspace{14mu}{air}})}}$$0.622 = \frac{M\; M_{H_{2}O}}{M\; M_{{dry}\mspace{14mu}{air}}}$${{or}:{SH}} = {\frac{0.622p_{({H_{2}O})}}{p - {0.378*p_{({H_{2}O})}}}.}$

Using this definition of specific humidity, the relative humidity can beexpressed as

$\phi = {\frac{{SH}*p}{\left( {0.622 + {0.378*{SH}}} \right)p_{({H_{2}O})}^{*}} \times 100}$

However, specific humidity is also defined as the ratio of water vaporto the total mass of the system (dry air plus water vapor). For example,the ASHRAE 2009 Handbook defines specific humidity as “the ratio of themass of water vapor to total mass of the moist air sample”.

Measurement

Various devices can be used to measure and regulate humidity. In oneembodiment a psychrometer or hygrometer is used.

In one embodiment, illustrated in FIG. 42, a packaging is provided forthe motion detection device 42 that includes a packaging magnet and thereed switch 90. The magnet activates the reed switch which keeps themotion detection device 42 in a low power mode. The low power modepreserves the motion detection device 42 battery life during storage andshipment. Once the user receives the packaging and removes the motiondetection device 42 the reed switch 90 is deactivated (because it is nolonger in close proximity to the magnet) and the motion detection device42 is turned on. Simply removing the motion detection device 42 from itspackaging is enough to deactivate the reed switch 90. No additionalsteps are needed. In one embodiment the distance between the packagingmagnet and reed switch 90 is no greater than 2 mm, 1 mm, 0.5 mm, 0.4 mm,0.3 mm, 0.2 mm, 0.1 mm and in a substantially adjacent relation. It canbe as close as you want in transit. In one embodiment the packagingmagnet has a Gauss. In one embodiment any kind of reed switch 90 can beused.

As illustrated in FIGS. 43 and 44, recording of the sound where at thelocation, preferably in a dwelling room environment, by monitoringdevice 42 is not always preserved. It is halted in response to motionsounds received from the person monitored. Recording via the microphone18 is initiated but ceases in responses to signals received from themotion detection device 42 in order to provide privacy. The signals arelow energy Bluetooth, the motion detection device 42, when it moves, orafter it moves, it sends a signal to the monitoring device 42, whichknows that the person moves and will cease recording. In one embodimentthe system 10 has a database of classifications that provide for turn onand off in response to the signals. In one embodiment the systemclassifies the movement and determines desired to be preserved. Thedatabase can have a classifier to determine when to record and when notto for privacy concerns.

a. As a non-limiting example, one embodiment of a cloud system isillustrated in FIGS. 38(a)-38(e).

The cloud based system includes a third party service provider 120, thatis provided by the methods used with the present invention, that canconcurrently service requests from several clients without userperception of degraded computing performance as compared to conventionaltechniques where computational tasks can be performed upon a client or aserver within a proprietary intranet. The third party service provider(e.g., “cloud”) supports a collection of hardware and/or softwareresources. The hardware and/or software resources can be maintained byan off-premises party, and the resources can be accessed and utilized byidentified users over Network Systems. Resources provided by the thirdparty service provider can be centrally located and/or distributed atvarious geographic locations. For example, the third party serviceprovider can include any number of data center machines that provideresources. The data center machines can be utilized forstoring/retrieving data, effectuating computational tasks, renderinggraphical outputs, routing data, and so forth.

In one embodiment, the third party service provider can provide anynumber of resources such as servers, CPU's, data storage services,computational services, word processing services, electronic mailservices, presentation services, spreadsheet services, web syndicationservices (e.g., subscribing to a RSS feed), and any other services orapplications that are conventionally associated with personal computersand/or local servers. Further, utilization of any number of third partyservice providers similar to the third party service provider iscontemplated. According to an illustration, disparate third partyservice providers can be maintained by differing off-premise parties anda user can employ, concurrently, at different times, and the like, allor a subset of the third party service providers.

By leveraging resources supported by the third party service provider120, limitations commonly encountered with respect to hardwareassociated with clients and servers within proprietary intranets can bemitigated. Off-premises parties, instead of users of clients or networkadministrators of servers within proprietary intranets, can maintain,troubleshoot, replace and update the hardware resources. Further, forexample, lengthy downtimes can be mitigated by the third party serviceprovider utilizing redundant resources; thus, if a subset of theresources are being updated or replaced, the remainder of the resourcescan be utilized to service requests from users. According to thisexample, the resources can be modular in nature, and thus, resources canbe added, removed, tested, modified, etc. while the remainder of theresources can support servicing user requests. Moreover, hardwareresources supported by the third party service provider can encounterfewer constraints with respect to storage, processing power, security,bandwidth, redundancy, graphical display rendering capabilities, etc. ascompared to conventional hardware associated with clients and serverswithin proprietary intranets.

The cloud based system can include a client device that employsresources of the third party service provider. Although one clientdevice is depicted, it is to be appreciated that the cloud based systemcan include any number of client devices similar to the client device,and the plurality of client devices can concurrently utilize supportedresources. By way of illustration, the client device can be a desktopdevice (e.g., personal computer), motion/movement/gesture detectiondevice, and the like. Further, the client device can be an embeddedsystem that can be physically limited, and hence, it can be beneficialto leverage resources of the third party service provider.

Resources can be shared amongst a plurality of client devicessubscribing to the third party service provider. According to anillustration, one of the resources can be at least one centralprocessing unit (CPU), where CPU cycles can be employed to effectuatecomputational tasks requested by the client device. Pursuant to thisillustration, the client device can be allocated a subset of an overalltotal number of CPU cycles, while the remainder of the CPU cycles can beallocated to disparate client device(s). Additionally or alternatively,the subset of the overall total number of CPU cycles allocated to theclient device can vary over time. Further, a number of CPU cycles can bepurchased by the user of the client device. In accordance with anotherexample, the resources can include data store(s) that can be employed bythe client device to retain data. The user employing the client devicecan have access to a portion of the data store(s) supported by the thirdparty service provider, while access can be denied to remaining portionsof the data store(s) (e.g., the data store(s) can selectively maskmemory based upon user/device identity, permissions, and the like). Itis contemplated that any additional types of resources can likewise beshared.

The third party service provider can further include an interfacecomponent that can receive input(s) from the client device and/or enabletransferring a response to such input(s) to the client device (as wellas perform similar communications with any disparate client devices).According to an example, the input(s) can be request(s), data,executable program(s), etc. For instance, request(s) from the clientdevice can relate to effectuating a computational task,storing/retrieving data, rendering a user interface, and the like viaemploying one or more resources. Further, the interface component canobtain and/or transmit data over a network connection. According to anillustration, executable code can be received and/or sent by theinterface component over the network connection. Pursuant to anotherexample, a user (e.g. employing the client device) can issue commandsvia the interface component.

Moreover, the third party service provider includes a dynamic allocationcomponent that apportions resources (e.g., hardware resource(s))supported by the third party service provider to process and respond tothe input(s) (e.g., request(s), data, executable program(s) and thelike) obtained from the client device.

Although the interface component is depicted as being separate from thedynamic allocation component, it is contemplated that the dynamicallocation component can include the interface component or a portionthereof. The interface component can provide various adaptors,connectors, channels, communication paths, etc. to enable interactionwith the dynamic allocation component.

FIGS. 39-41 illustrate one embodiment of a mobile device that can beused with the present invention.

The mobile or computing device can include a display that can be a touchsensitive display. The touch-sensitive display is sometimes called a“touch screen” for convenience, and may also be known as or called atouch-sensitive display system. The mobile or computing device mayinclude a memory (which may include one or more computer readablestorage mediums), a memory controller, one or more processing units(CPU's), a peripherals interface, Network Systems circuitry, includingbut not limited to RF circuitry, audio circuitry, a speaker, amicrophone, an input/output (I/O) subsystem, other input or controldevices, and an external port. The mobile or computing device mayinclude one or more optical sensors. These components may communicateover one or more communication buses or signal lines.

It should be appreciated that the mobile or computing device is only oneexample of a portable multifunction mobile or computing device, and thatthe mobile or computing device may have more or fewer components thanshown, may combine two or more components, or a may have a differentconfiguration or arrangement of the components. The various componentsmay be implemented in hardware, software or a combination of hardwareand software, including one or more signal processing and/or applicationspecific integrated circuits.

Memory may include high-speed random access memory and may also includenon-volatile memory, such as one or more magnetic disk storage devices,flash memory devices, or other non-volatile solid-state memory devices.Access to memory by other components of the mobile or computing device,such as the CPU and the peripherals interface, may be controlled by thememory controller.

The peripherals interface couples the input and output peripherals ofthe device to the CPU and memory. The one or more processors run orexecute various software programs and/or sets of instructions stored inmemory to perform various functions for the mobile or computing deviceand to process data.

In some embodiments, the peripherals interface, the CPU, and the memorycontroller may be implemented on a single chip, such as a chip. In someother embodiments, they may be implemented on separate chips.

The Network System circuitry receives and sends signals, including butnot limited to RF, also called electromagnetic signals. The NetworkSystem circuitry converts electrical signals to/from electromagneticsignals and communicates with communications Network Systems and othercommunications devices via the electromagnetic signals. The NetworkSystems circuitry may include well-known circuitry for performing thesefunctions, including but not limited to an antenna system, an RFtransceiver, one or more amplifiers, a tuner, one or more oscillators, adigital signal processor, a CODEC chipset, a subscriber identity module(SIM) card, memory, and so forth. The Network Systems circuitry maycommunicate with Network Systems and other devices by wirelesscommunication.

The wireless communication may use any of a plurality of communicationsstandards, protocols and technologies, including but not limited toGlobal System for Mobile Communications (GSM), Enhanced Data GSMEnvironment (EDGE), high-speed downlink packet access (HSDPA), widebandcode division multiple access (W-CDMA), code division multiple access(CDMA), time division multiple access (TDMA), BLUETOOTH®, WirelessFidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/orIEEE 802.11n), voice over Internet Protocol (VoIP), Wi-MAX, a protocolfor email (e.g., Internet message access protocol (IMAP) and/or postoffice protocol (POP)), instant messaging (e.g., extensible messagingand presence protocol (XMPP), Session Initiation Protocol for InstantMessaging and Presence Leveraging Extensions (SIMPLE), and/or InstantMessaging and Presence Service (IMPS)), and/or Short Message Service(SMS)), or any other suitable communication protocol, includingcommunication protocols not yet developed as of the filing date of thisdocument.

The audio circuitry, the speaker, and the microphone provide an audiointerface between a user and the mobile or computing device. The audiocircuitry receives audio data from the peripherals interface, convertsthe audio data to an electrical signal, and transmits the electricalsignal to the speaker. The speaker converts the electrical signal tohuman-audible sound waves. The audio circuitry also receives electricalsignals converted by the microphone from sound waves. The audiocircuitry converts the electrical signal to audio data and transmits theaudio data to the peripherals interface for processing. Audio data maybe retrieved from and/or transmitted to memory and/or the NetworkSystems circuitry by the peripherals interface. In some embodiments, theaudio circuitry also includes a headset jack. The headset jack providesan interface between the audio circuitry and removable audioinput/output peripherals, such as output-only headphones or a headsetwith both output (e.g., a headphone for one or both ears) and input(e.g., a microphone).

The I/O subsystem couples input/output peripherals on the mobile orcomputing device, such as the touch screen and other input/controldevices, to the peripherals interface. The I/O subsystem may include adisplay controller and one or more input controllers for other input orcontrol devices. The one or more input controllers receive/sendelectrical signals from/to other input or control devices. The otherinput/control devices may include physical buttons (e.g., push buttons,rocker buttons, etc.), dials, slider switches, and joysticks, clickwheels, and so forth. In some alternate embodiments, input controller(s)may be coupled to any (or none) of the following: a keyboard, infraredport, USB port, and a pointer device such as a mouse. The one or morebuttons may include an up/down button for volume control of the speakerand/or the microphone. The one or more buttons may include a pushbutton. A quick press of the push button may disengage a lock of thetouch screen or begin a process that uses gestures on the touch screento unlock the device, as described in U.S. patent application Ser. No.11/322,549, “Unlocking a Device by Performing Gestures on an UnlockImage,” filed Dec. 23, 2005, which is hereby incorporated by referencein its entirety. A longer press of the push button may turn power to themobile or computing device on or off. The user may be able to customizea functionality of one or more of the buttons. The touch screen is usedto implement virtual or soft buttons and one or more soft keyboards.

The touch-sensitive touch screen provides an input interface and anoutput interface between the device and a user. The display controllerreceives and/or sends electrical signals from/to the touch screen. Thetouch screen displays visual output to the user. The visual output mayinclude graphics, text, icons, video, and any combination thereof(collectively termed “graphics”). In some embodiments, some or all ofthe visual output may correspond to user-interface objects, furtherdetails of which are described below.

A touch screen has a touch-sensitive surface, sensor or set of sensorsthat accepts input from the user based on haptic and/or tactile contact.The touch screen and the display controller (along with any associatedmodules and/or sets of instructions in memory) detect contact (and anymovement or breaking of the contact) on the touch screen and convertsthe detected contact into interaction with user-interface objects (e.g.,one or more soft keys, icons, web pages or images) that are displayed onthe touch screen. In an exemplary embodiment, a point of contact betweena touch screen and the user corresponds to a finger of the user.

The touch screen may use LCD (liquid crystal display) technology, or LPD(light emitting polymer display) technology, although other displaytechnologies may be used in other embodiments. The touch screen and thedisplay controller may detect contact and any movement or breakingthereof using any of a plurality of touch sensing technologies now knownor later developed, including but not limited to capacitive, resistive,infrared, and surface acoustic wave technologies, as well as otherproximity sensor arrays or other elements for determining one or morepoints of contact with a touch screen.

A touch-sensitive display in some embodiments of the touch screen may beanalogous to the multi-touch sensitive tablets described in thefollowing U.S. Pat. No. 6,323,846 (Westerman et al.), U.S. Pat. No.6,570,557 (Westerman et al.), and/or U.S. Pat. No. 6,677,932(Westerman), and/or U.S. Patent Publication 2002/0015024A1, each ofwhich is hereby incorporated by reference in their entirety. However, atouch screen displays visual output from the portable mobile orcomputing device, whereas touch sensitive tablets do not provide visualoutput.

A touch-sensitive display in some embodiments of the touch screen may beas described in the following applications: (1) U.S. patent applicationSer. No. 11/381,313, “Multipoint Touch Surface Controller,” filed May12, 2006; (2) U.S. patent application Ser. No. 10/840,862, “MultipointTouchscreen,” filed May 6, 2004; (3) U.S. patent application Ser. No.10/903,964, “Gestures For Touch Sensitive Input Devices,” filed Jul. 30,2004; (4) U.S. patent application Ser. No. 11/048,264, “Gestures ForTouch Sensitive Input Devices,” filed Jan. 31, 2005; (5) U.S. patentapplication Ser. No. 11/038,590, “Mode-Based Graphical User InterfacesFor Touch Sensitive Input Devices,” filed Jan. 18, 2005; (6) U.S. patentapplication Ser. No. 11/228,758, “Virtual Input Device Placement On ATouch Screen User Interface,” filed Sep. 16, 2005; (7) U.S. patentapplication Ser. No. 11/228,700, “Operation Of A Computer With A TouchScreen Interface,” filed Sep. 16, 2005; (8) U.S. patent application Ser.No. 11/228,737, “Activating Virtual Keys Of A Touch-Screen VirtualKeyboard,” filed Sep. 16, 2005; and (9) U.S. patent application Ser. No.11/367,749, “Multi-Functional Hand-Held Device,” filed Mar. 3, 2006. Allof these applications are incorporated by reference herein in theirentirety.

The touch screen may have a resolution in excess of 1000 dpi. In anexemplary embodiment, the touch screen has a resolution of approximately1060 dpi. The user may make contact with the touch screen using anysuitable object or appendage, such as a stylus, a finger, and so forth.In some embodiments, the user interface is designed to work primarilywith finger-based contacts and facial expressions, which are much lessprecise than stylus-based input due to the larger area of contact of afinger on the touch screen. In some embodiments, the device translatesthe rough finger-based input into a precise pointer/cursor position orcommand for performing the actions desired by the user.

In some embodiments, in addition to the touch screen, the mobile orcomputing device may include a touchpad (not shown) for activating ordeactivating particular functions. In some embodiments, the touchpad isa touch-sensitive area of the device that, unlike the touch screen, doesnot display visual output. The touchpad may be a touch-sensitive surfacethat is separate from the touch screen or an extension of thetouch-sensitive surface formed by the touch screen.

In some embodiments, the mobile or computing device may include aphysical or virtual click wheel as an input control device. A user maynavigate among and interact with one or more graphical objects(henceforth referred to as icons) displayed in the touch screen byrotating the click wheel or by moving a point of contact with the clickwheel (e.g., where the amount of movement of the point of contact ismeasured by its angular displacement with respect to a center point ofthe click wheel). The click wheel may also be used to select one or moreof the displayed icons. For example, the user may press down on at leasta portion of the click wheel or an associated button. User commands andnavigation commands provided by the user via the click wheel may beprocessed by an input controller as well as one or more of the modulesand/or sets of instructions in memory. For a virtual click wheel, theclick wheel and click wheel controller may be part of the touch screenand the display controller, respectively. For a virtual click wheel, theclick wheel may be either an opaque or semitransparent object thatappears and disappears on the touch screen display in response to userinteraction with the device. In some embodiments, a virtual click wheelis displayed on the touch screen of a portable multifunction device andoperated by user contact with the touch screen.

The mobile or computing device also includes a power system for poweringthe various components. The power system may include a power managementsystem, one or more power sources (e.g., battery, alternating current(AC)), a recharging system, a power failure detection circuit, a powerconverter or inverter, a power status indicator (e.g., a light-emittingdiode (LED)) and any other components associated with the generation,management and distribution of power in portable devices.

The mobile or computing device may also include one or more sensors,including not limited to optical sensors. In one embodiment an opticalsensor is coupled to an optical sensor controller in I/O subsystem. Theoptical sensor may include charge-coupled device (CCD) or complementarymetal-oxide semiconductor (CMOS) phototransistors. The optical sensorreceives light from the environment, projected through one or more lens,and converts the light to data representing an image. In conjunctionwith an imaging module (also called a camera module); the optical sensormay capture still images or video. In some embodiments, an opticalsensor is located on the back of the mobile or computing device,opposite the touch screen display on the front of the device, so thatthe touch screen display may be used as a viewfinder for either stilland/or video image acquisition. In some embodiments, an optical sensoris located on the front of the device so that the user's image may beobtained for videoconferencing while the user views the other videoconference participants on the touch screen display. In someembodiments, the position of the optical sensor can be changed by theuser (e.g., by rotating the lens and the sensor in the device housing)so that a single optical sensor may be used along with the touch screendisplay for both video conferencing and still and/or video imageacquisition.

The mobile or computing device may also include one or more proximitysensors. In one embodiment, the proximity sensor is coupled to theperipherals interface. Alternately, the proximity sensor may be coupledto an input controller in the I/O subsystem. The proximity sensor mayperform as described in U.S. patent application Ser. No. 11/241,839,“Proximity Detector In Handheld Device,” filed Sep. 30, 2005; Ser. No.11/240,788, “Proximity Detector In Handheld Device,” filed Sep. 30,2005; Ser. No. 13/096,386, “Using Ambient Light Sensor To AugmentProximity Sensor Output”; Ser. No. 13/096,386, “Automated Response ToAnd Sensing Of User Activity In Portable Devices,” filed Oct. 24, 2006;and Ser. No. 11/638,251, “Methods And Systems For AutomaticConfiguration Of Peripherals,” which are hereby incorporated byreference in their entirety. In some embodiments, the proximity sensorturns off and disables the touch screen when the multifunction device isplaced near the user's ear (e.g., when the user is making a phone call).In some embodiments, the proximity sensor keeps the screen off when thedevice is in the user's pocket, purse, or other dark area to preventunnecessary battery drainage when the device is a locked state.

In some embodiments, the software components stored in memory mayinclude an operating system, a communication module (or set ofinstructions), a contact/motion module (or set of instructions), agraphics module (or set of instructions), a text input module (or set ofinstructions), a Global Positioning System (GPS) module (or set ofinstructions), and applications (or set of instructions).

The operating system (e.g., Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, oran embedded operating system such as VxWorks) includes various softwarecomponents and/or drivers for controlling and managing general systemtasks (e.g., memory management, storage device control, powermanagement, etc.) and facilitates communication between various hardwareand software components.

The communication module facilitates communication with other devicesover one or more external ports and also includes various softwarecomponents for handling data received by the Network Systems circuitryand/or the external port. The external port (e.g., Universal Serial Bus(USB), FIREWIRE, etc.) is adapted for coupling directly to other devicesor indirectly over Network System. In some embodiments, the externalport is a multi-pin (e.g., 30-pin) connector that is the same as, orsimilar to and/or compatible with the 30-pin connector used on iPod(trademark of Apple Computer, Inc.) devices.

The contact/motion module may detect contact with the touch screen (inconjunction with the display controller) and other touch sensitivedevices (e.g., a touchpad or physical click wheel). The contact/motionmodule includes various software components for performing variousoperations related to detection of contact, such as determining ifcontact has occurred, determining if there is movement of the contactand tracking the movement across the touch screen, and determining ifthe contact has been broken (i.e., if the contact has ceased).Determining movement of the point of contact may include determiningspeed (magnitude), velocity (magnitude and direction), and/or anacceleration (a change in magnitude and/or direction) of the point ofcontact. These operations may be applied to single contacts (e.g., onefinger contacts) or to multiple simultaneous contacts (e.g.,“multitouch”/multiple finger contacts). In some embodiments, thecontact/motion module and the display controller also detect contact ona touchpad. In some embodiments, the contact/motion module and thecontroller detects contact on a click wheel.

Examples of other applications that may be stored in memory includeother word processing applications, JAVA-enabled applications,encryption, digital rights management, voice recognition, and voicereplication.

In conjunction with touch screen, display controller, contact module,graphics module, and text input module, a contacts module may be used tomanage an address book or contact list, including: adding name(s) to theaddress book; deleting name(s) from the address book; associatingtelephone number(s), e-mail address(es), physical address(es) or otherinformation with a name; associating an image with a name; categorizingand sorting names; providing telephone numbers or e-mail addresses toinitiate and/or facilitate communications by telephone, videoconference, e-mail, or IM; and so forth.

In one embodiment system 10 is used to detect sleep disorders andpsychiatric disorders that are closely interrelated. The system detectssleep disorders and sleep disturbances. These disorders are related tosome degrees of mood disturbances and psychiatric disorders.

The detect sleep disorders are associated with a psychiatric pathologythat can be primary or secondary.

A sleep disorder is judged to be primary in nature when no etiology canbe identified or when, related to a mental disorder, it is sufficientlysevere to warrant independent clinical attention. Such patients focus ontheir sleep disturbances and sublimate their psychiatric symptomatology(which may emerge only after a systematic questioning).

In one embodiment the sleep and sleep related data collected with system10 relative to sleep disorders is used to provide analysis on the impacton treatment and the follow-up of patients.

As non-limiting examples system 10 is used to determine insomnia. Thisis then used to classify a plurality of categories of sleep disordersassociated with mental disorders including but not limited to: (i)mental disorders producing insomnia; (ii) depression; and (iii) anxiety.

As a non-limiting example between 35% to 75% of depressed individualshave insomnia. As a non-limiting example system 10 is used to detectinsomnia that includes but is not limited to: difficulties of initiatingor maintaining sleep.

In one embodiment system 10 is used to detect polysomnographicabnormalities in sleep during a major depressive episode. In oneembodiment system detects the precocious appearance of paradoxicalsleep.

In one embodiment detected insomnia is an indicator of a precocioussymptom of a manic episode. In one embodiment system 10 measures reducedtotal sleep time and sleep efficacy.

In one embodiment system 10 is used to detect various levels of insomniawhich is indicative of different levels of anxiety disorders, panicdisorders, posttraumatic stress disorders and the like.

As a non-limiting example system 10 measures: (i) REM sleep of patients;(ii) increases in sleep latency as compared to non-insomnia subjects;(iii) total sleep time; and (iv) a reduction in sleep efficiency.

In one embodiment system 10 records and analyzes nocturnal panicattacks. These attacks can occur between stages 2 and 3 as opposed toduring nightmares (REM sleep) or night terrors (stage 4).

In one embodiment system 10 is used with schizophrenic patients todetermine sleep changes. As non-limiting examples, system 10 determines:(i) a decline in sleep efficiency; sleep disruption; and (iii) a declinein the REM latency as observed also in major depressive episodes.

In one embodiment system 10 is used for monitoring sleep and slapactivity of anorexic patients. As a non-limiting example, system 10 isused to determine when a person, an anorexic patient, has a diminutionof total sleep time and an increase in the amount of time awake atnight.

As a non-limiting example these changes are related to the severity ofweight lost.

In one embodiment system 10 is used to determine personality disordersresulting from a detection of insomnia.

In one embodiment system 10 monitors sleep to detect hypersomnia. Theconsequences of excessive daytime sleepiness can lead to road accidents,work-related accidents and household accidents and the like.

Excessive daytime sleepiness can be a consequence of insomnia indepressed individuals as well as well for those with a bipolar disorder.

In one embodiment hypersomnia is related to anxiety disorders.

In one embodiment system 10 monitors sleep and sleep changes for

schizophrenic patients. The process of withdrawal and apathy combinedwith leading questions about sleep change leads to changes in sleep asdetermined by system 10.

In one embodiment system 10 monitors sleep in order to detect a varietyof psychiatric disorders including but not limited to: (i) continuousrecurrent nightmares in response to antidepressant medications indepressed individuals; (ii) nightmares are also observed inschizophrenic patients and acute schizophrenic episodes are oftenpreceded of a period of frequent nightmares; (iii) individuals with aposttraumatic stress disorder may also experience recurrent nightmaresabout the traumatic event; (iv) eating abnormalities; (v) violentbehaviors during sleep, and the like.

In one embodiment a computer-based training program (CBT for CBT), avirtual reality therapy (VRT), and the like is used by system 10 and/orCloud System 100. As non-limiting examples these can be used to focus onteaching basic coping skills, presenting examples of effective use ofcoping skills in a number of realistic situations in video form, andprovide opportunities for patients to practice and review new skillswhile receiving substance abuse treatment.

In one embodiment computerized self-administered CBT (CCBT) is used viasystem 10 and/or Cloud System 110. In this embodiment patients can workat their own pace on their own schedule. Some of the advantages arereduced time, no need for travel, reduced costs, privacy/anonymity, andthe like. As with any treatment, adherence is required for the treatmentto exert its effect. Patients who do more CBT homework sessions havegreater decreases in symptoms. In one embodiment human coaching, with orwithout a therapist, can be added to the computer-administered CBTtreatments. In one embodiment computer-administered CBT is used withlimited human contact with non-therapist coaches.

In one embodiment stepped care models of treatment are utilized usingsystem 10 and/or Cloud System 110, matching the appropriate level ofintervention, starting with the least restrictive and most effective,enhances treatment outcomes, controls healthcare costs, and helpsallocate scarce mental health resources more effectively.

In one embodiment internet-based interventions are used with system 10and/or Cloud System 110. These can be based on cognitive behavioraltherapy, be therapist or non-therapist guided, be guided by thirdparties who are not therapists and the like.

Cognitive behavioral interventions are designed to reflect concepts fromcognitive behavioral therapy (CBT), which examines the association amongthoughts, feelings, and behaviors. In one embodiment cognitivebehavioral intervention approaches help individuals to identify helpfuland unhelpful behaviors, establish goals, and develop skills to solveproblems and implement new behaviors to facilitate effective coping.Structured programs based on cognitive behavioral approaches may includeactivities such as education or relaxation training, may be provided inindividual or group settings, and may be delivered in person,telephonically, or by other methods.

In one embodiment patients are assigned a case manager who coordinatesall aspects of treatment in conjunction with a program psychiatrist whoalso provides medication management, in response to system 10 and/orCloud System 110 provided information. In one embodiment a writtentreatment contract is provided that is reviewed weekly with a casemanager. In one embodiment family interventions and support are alsoincorporated into the treatment and aftercare.

In one embodiment the patient learns to identify triggers and warningsigns of their disorder, to utilize cognitive restructuring, to beginself scheduling and behavioral activation, and optionally to developinterpersonal communication. In one embodiment relapse prevention plans,crisis plans, transition plans for returning to work, school, and thelike are developed and used.

In one embodiment system 10 and/or Cloud System 110 is used forself-assessment and behavioral coping. Self-assessment skills create aframework from which a patient can identify realistic priorities fortreatment and begin to challenge maladaptive self-cognitions.

In one embodiment system 10 and/or Cloud System 110 provides CBT thatfocuses on specific problems, problem behaviors and problem thinking areidentified, prioritized, and specifically addressed.

In one embodiment system 10 and/or Cloud System 110 provides CBT that isgoal oriented. As a non-limiting example patients working with system 10and/or their therapists are asked to define goals including but notlimited to longer-term goals. As a non-limiting example system 10 and/orCloud System can use structured learning experiences that teach patientsto monitor and write down their negative thoughts and mental images. Thegoal is to recognize how those ideas affect their mood, behavior, andphysical condition. In one embodiment patients are taught importantcoping skills, such as problem solving and scheduling pleasurableexperiences.

As a non-limiting CBT patients are expected to take an active role intheir learning, in the session and between sessions via system 10 and/orCloud System 110. They are given homework assignments at eachsession—some of them graded in the beginning—and the assignment tasksare reviewed at the start of the next session.

As a non-limiting example CBT employs multiple strategies, includingSocratic questioning, role playing, imagery, guided discovery, andbehavioral experiments. In one embodiment system 10 and/or Cloud System110 enables the patient to see itself and is then able to control theevents that happen around it. This provides a capacity forintrospection.

In one embodiment system 10 and/or Cloud System 110 is used forcognitive restructuring which refers to the process in CBT ofidentifying and changing inaccurate negative thoughts that contribute tothe development of depression. This can be done with or without atherapist.

As a non-limiting example a patient can use system 10 and/or CloudSystem 110 with CBT to learn to recognize negative thoughts and find ahealthier way to view a situation. In one embodiment a goal for apatient is to discover the underlying assumptions out of which thosethoughts arise and evaluate them. Once the inaccuracy of the assumptionbecomes evident, the patient can replace that perspective with a moreaccurate one.

In one embodiment a patient uses system 10 and/or Cloud System 110 forbehavioral activation which aims to help patients engage more often inenjoyable activities and develop or enhance problem-solving skills.

As a non-limiting example inertia can be a problem for people withdepression. One major symptom of depression can be loss of interest inthings that were once found enjoyable. As a non-limiting example aperson with depression stops doing things because he or she thinks it'snot worth the effort.

In one embodiment system 10 and/or Cloud System 110 can be used forpatient to help the patient schedule enjoyable experiences, often withother people who can reinforce the enjoyment. Part of the process islooking at obstacles to taking part in that experience and deciding howto get past those obstacles by breaking the process down into smallersteps.

In one embodiment patients are encouraged to keep a record of theexperience, noting how he or she felt and what the specificcircumstances were. If it didn't go as planned, the patient isencouraged to explore why and what might be done to change it. By takingaction that moves toward a positive solution and goal, the patient movesfarther from the paralyzing inaction that locks him or her inside theirdisorder.

In one embodiment with anxiety disorders, situations are perceived asmore dangerous than they really are. System 10 and/or Cloud System 110can be used by the patient to challenge its negative thoughts. This caninvolve questioning the evidence for frightening thoughts, analyzingunhelpful beliefs, and testing out the reality of negative predictions.Strategies for challenging negative thoughts include conductingexperiments, weighing the pros and cons of worrying or avoiding thething you fear, and determining the realistic chances that what you'reanxious about will actually happen. This allows the patient to replacenegative thoughts with new thoughts that are more accurate and positive.

In one embodiment a patient can learn via system 10 and/or Cloud System110 learning skills, coping skills, relaxation techniques to counteractanxiety, depression, panic and the like.

In one embodiment System 10 and/or Cloud System 110 is used for thediagnosis of insomnia and/or treatment of insomnia.

In various embodiments a diagnosis of insomnia can be based on thefollowing: (i) A primarily diagnosis from the person experiencing sleepissues, as well as family/caregiver complaints through one or moreclinical interview. However it is known that people are often inaccuratein reporting their own sleep latency and periods of wakefulness duringthe night; (ii) Medical histories and physical examinations can be usedto establish comorbid syndromes; (iii) sleep diaries are utilized todocument sleep/wake cycles; and (iv) system 10 and/or cloud system 110are used to document sleep/wake cycles.

In one embodiment in response to system 10 and/or cloud system 110determinations and/or measure of a person's sleep/wake cycles, themonitored person can receive a sleep therapy worksheet. The monitoredperson can be advised as follows: (i) Do not stay in bed awake for morethan 15-20 minutes, or upset, frustrated, or even just alert; and (ii)Do not compensate for a bad night. Do not turn in early, stay in bedlater, or nap. Remember that if you sleep poorly tonight, tomorrow nightyou are likely to sleep better.

In one embodiment the monitored person is notified by system 10 and/orcloud system 110 of personal triggers for bad sleep including but notlimited to: (i) traveling to a different time zone; (ii) certainstresses, such as job, family stress and the like, can cause insomnia;(iii) there are states, including but not limited to depression andanxiety that can cause or increase the chances of insomnia; and (iv) badhabits, including but not limited to working close to bed time and/orworking late can be a factor relative to sleep disorders and insomnia.

In one embodiment a determination is made to see if the monitored personsuffers from sleep apnea (from movement, breathing, snoring)

As a non-limiting example, this can be determined from: (i) a person'sresponse to questions about their sleep quality, alertness, which can beas matching those questions to clinical benchmarks; (ii) comparisons ofa person's movement and sound measurements over a long period of time tothose of the population; (ii) comparisons of a person's movement andsound measurements to those of known sleep apniacs. For the preceding,system 10, motion detection device 42 and cloud system 110 are used.

In one embodiment system 10, motion detection device 42 is used withCBT. In one embodiment system 10, motion detection device 42 and cloudsystem 110 are used along with: a person's response to questions abouttheir sleep quality, alertness, anxiety, depression and the like;comparisons of a person's question responses, sleep habits (latency,consistency of bed time, consistency of wake time) with those of apopulation over a selected period of time; comparisons of a person'smeasured sleep habits to those of known insomniacs, and the like.

In one embodiment system 10, motion detection device 42 and cloud system110 are used for measurement and/or analysis along for determining:changes to a person's sleep habits, including but not limited to awaking time becomes more and more frequently inconsistent, andinconsistency lasts for a long period of time; changes to a person'sanswers to questions regarding sleep quality and alertness; changes to aperson's engagement with the app.

In one embodiment system 10 is utilized for anomaly detection andmonitoring of sleep to for insomnia and other sleep related disorders.System 10, motion detection device 42 and cloud system 110 automatesparts of the reaction aspect of CBT, which as a non-limiting example canbe in an app. In one embodiment system 10, motion detection device 42and cloud system 110, with or without an app is utilized for persons whokeep a sleep diary and track their own sleep anomalies. System 10,motion detection device 42 and cloud system 110 can be used is utilizedwith a person's sleep diary.

In one embodiment system 10, motion detection device 42 and cloud system110, with or without an app, are used for the all or some of thefollowing: (i) A person has experienced a higher than normal sleeplatency. System 10, motion detection device 42 and cloud system 110 canbe used to provide a message regarding relaxation tools and/orreschedule worry-times to earlier in the day; (ii) A person hasexperienced greater than normal agitated sleep. The person can then besent a message: Did you have a stressful week? Use relaxation tools.Reschedule worry-times to earlier in the day; and (iii) a person hasstayed up longer than usual in the bedroom. The person can then be sentmessages: Did you have a lot of work, anxiety and the like. Userelaxation tools. You should return to good sleep habits. (iv) A personwent to bed much earlier than usual but woke up at the same time. Thefollowing messages can be sent: Please keep consistent habits. Sleep thesame duration. If there is no change in sleep this can be an indicationof depression. (v) The person went to bed earlier than usual and woke upearlier as well. A message can be sent to keep consistent habits. (vi) Aperson has not gone to bed for a day but system 10, device 42 and system110 provide this data. The person can be sending messages such as, Haveyou gone on a trip, and the like. Remember time-zone adjustment tips.(vii) A person has returned home after a trip. A message to remembertime-zone adjustment can be sent. (viii) A person had higher than normalfluctuations in waking time/sleeping time. The person can be reminded ofmaintaining consistent habits, the use of relaxation techniquesdepending on the cause, and the like. (ix) A person had lower thannormal interactions as determined by system 10, device 42 and system110. A reminder can be sent to be mindful of sleep. The person can beasked if it is now feeling comfortable with their sleep habits. (x) Aperson has experienced a change in average particulate levels during acertain time period, e.g., a day, week, and the like. The person can beasked about the cause, and suggestions made relative to improvements.(XI) A person has experienced a spike in particulates sometime today. Atimestamp of the spike can be provided. A question as to the cause canbe sent. (XII) A person has experienced a change in environmental factortemperature before bed. (XIII) A person has experienced a spike intemperature sometime today. (XIV) A person has experienced a change inhumidity. (XV) A person has experienced a spike in sound during a timeof day which has not occurred before. (XVI) A person has experienced achange in light levels.

In one embodiment, illustrated in FIG. 45, monitoring device 10 includesall or some of the elements of the monitoring device 10 illustrated inFIGS. 1(a)-1(d) as well as additional elements.

As illustrated in FIG. 45 monitoring device 10 can include includeslight, sound temperature and humidity sensors, 11, 13, 15 and 17respectively. A proximity sensor 19 can be included. A barometricpressure sensor 21 can also be included. As a non-limiting example thebarometric pressure sensor 21 can be used to detect any change inpressure in the vicinity of the person being monitored. This can includebut is not limited is a window being opened or closed. Monitoring device10 can also include a motion/movement, gesture detection device such asmotion/movement, gesture detection device 84 which can be anaccelerometer and the like. In this embodiment the motion/movement,gesture detection device 84 provides additional motion information aboutmotion activity at the bed.

In one embodiment monitoring device 10 includes a gas sensor 23. As anon-limiting example gas sensor 23 can be used to measure VOC's, CO2 andthe like in the vicinity of the person being monitored, e.g., the room.A color meter or sensor 25 can be included. As a non-limiting examplethe color meter 25 provides information about the color of light in thevicinity of the person being monitored, such as in the room where theperson being monitored is being monitored. A UV sensor 27 can beincluded. As a non-limiting example the UV sensor 27 providesinformation relative to the quality of light in the vicinity of theperson being monitored. This can include whether or not the light isnatural or artificial. The color temperature and the UV spectrum can bedetermined with the color sensor 25 and the UV sensor 27.

In one embodiment the monitoring device 10 includes a plurality ofmicrophones 18. As a non-limiting example four microphones 18 can beprovided. The one or more microphones 18 can provide for noisecancellation, echo cancellation as well as determine where a sound comesfrom. Transmitter 76 is also included

In one embodiment the motion/movement/gesture/detection device 42 caninclude all of the elements of the motion/movement/gesture/detectiondevice 42 set forth above as well as additional elements. In oneembodiment, illustrated in FIG. 45, a proximity sensor 68 is includedthat provides information relative to the location of the person beingmonitored. As a non-limiting example this can be utilized to determineif the person being monitored is in bed, has left the bed, is movingabout, and the like. As a non-limiting example the proximity sensorprovides allows for a distinction be made to determine if motion iscaused by the person being monitored or some other reason such as ifmotion of anything that can be located near or at the bed where themonitored position is located. As a non-limiting example, the proximitysensor provides information relative to the person being monitoredactually being in the bed or not.

As non-limiting examples, the user monitoring device 10 can be used tomonitor sleep, monitor the environment, as previously mentioned, used asa personal assistant and the like. In one embodiment the user'srespiration is detected, and/or measured without a physical contact tothe user. As a non-limiting example, this can be achieved with radar.The radar or other motion detection device can be non-contact. As anon-limiting example, the radar is used for chest movements, backmovement and any other body movement which indicates user breathing.

In one embodiment, alerts are provide to the user monitored includingbut

not limited to: visual, light, sound, e-mail, messaging, with the use ofa display and the like. In one embodiment a display is provide near theuser monitored to provide light, sounds, and the like that are pleasingto the user. In one embodiment a subscription is paid.

In one embodiment user monitoring device 10 has voice interaction thatcan be a voice service. As a non-limiting example the voice service (VS)is an intelligent and scalable cloud service that adds voice commands toany connected product using microphone 18 and/or speaker module 20(hereafter collectively “microphone 18). As a non-limiting example theVS users are able to talk to their VS enabled products, play music,answer questions, get news and local information, and control homeproducts, control electronic devices and more.

Voice interaction can be achieved by a variety of different systems andmethods. In one embodiment voice interaction uses speech recognitionwhich is an inter-disciplinary sub-field of computational linguisticsthat incorporates knowledge and research in the linguistics, computerscience, and electrical engineering fields to develop methodologies andtechnologies that enables the recognition and translation of spokenlanguage into text by computers and computerized devices such as thosecategorized as smart technologies and robotics. It is also known as“automatic speech recognition” (ASR), “computer speech recognition”, orjust “speech to text” (STT).

In one embodiment of speech recognition “training” (also called“enrollment”) is used where an individual speaker reads text or isolatedvocabulary into a system. The system analyzes the person's specificvoice and uses it to fine-tune the recognition of that person's speech,resulting in increased accuracy. As a non-limiting example speechrecognition applications include voice user interfaces such as voicecommands, call routing, domotic appliance control, search, simple dataentry, preparation of structured documents speech-to-text processing,and the like.

In one embodiment Hidden Markov Models (HMMs) are used and can becombined with feed forward artificial neural networks. In one embodimenta deep learning method called Long short term memory (LSTM) is used. Inone embodiment deep feed forward (non-recurrent) networks are used. Inone embodiment language modeling is used

As non-limiting examples a speech recognition systems can be used thatis based on Hidden Markov Models. This provides statistical models thatoutput a sequence of symbols or quantities.

In one embodiment a large-vocabulary system is used that is contextdependent for phonemes. As a non-limiting example it can use dependencyfor the phonemes and cepstral normalization to normalize for differentspeaker and recording conditions

In one embodiment a Viterbi algorithm is used to find a best path, andcan use dynamically created combination hidden Markov model, whichincludes both the acoustic and language model information. This can becombined statically beforehand.

HMM's and neural networks can be utilized. As non-limiting examples LSTMRecurrent Neural Networks (RNNs) and Time Delay Neural Networks (TDNN's)can be used.

In one embodiment Deep Neural Networks and DenoisingAutoencoders areused.

In one embodiment neural networks are utilized as a pre-processing forthe HMM based recognition.

In one embodiment a deep feed forward neural network (DNN) is used withmultiple hidden layers of units between the input and output layers.

In one embodiment a Long short term memory (LSTM) recurrent neuralnetwork is used.

In one embodiment scaling up/out and speedup DNN training and decodingis used as follows; (i) sequence discriminative training of DNNs; (ii)feature processing by deep models with solid understanding of theunderlying mechanisms; (iii) adaptation of DNNs and of related deepmodels; (iv) multi-task and transfer learning by DNNs and related deepmodels; (v) convolution neural networks; (vi) a recurrent neural networkand its rich LSTM variants

Other types of deep models including tensor-based models and integrateddeep generative/discriminative models.

In one embodiment microphone 18 provides voice-enabled activities and oractives by the user. As a non-limiting example the microphone 18 caninclude a plurality of microphones, e.g., a microphone array, includingbut not limited to four microphones. In one embodiment the microphone 18responds to a user's speaking an activating word that wakes themicrophone 18. The selected word can be used by all, or can beindividualized. The microphone 18 can be used for voice interaction,music playback, making to-do lists, setting alarms, streaming podcasts,playing audio-books, providing weather, traffic and other real timeinformation, to control one or more mobile devices, one or more smartdevices using a home automation hub.

As a non-limiting example in a default mode the microphone 18continuously listens to all speech, monitoring for the activating wordto be spoken. In one embodiment the microphone 18 can have manual andvoice-activated remote control which can be used in lieu of theactivating word. In one embodiment the microphone 18's microphones canbe manually disabled by pressing a mute button to turn off the audioprocessing circuit.

In one embodiment the microphone 18 uses a Wi-Fi internet connection. Inone embodiment microphone's 18 voice recognition capability is based onacoustic modeling, language modeling and the like.

In one embodiment microphone 18 has access to skills built with3rd-party developed voice experiences that add to the capabilities ofany wireless speaker device and/or voice enabled device. As non-limitingexamples, such skills can include but are not limited to: play music,answer general questions, set an alarm, order items, pay for items andthe like, as set forth hereafter. Skills can be added to increase thecapabilities available to the user. In one embodiment microphone 18 hasaccess to a collection of self-service APIs, tools, documentation andcode samples that make it fast and easy for any developer to add skillsto microphone 18. As non-limiting examples cloud-controlled lighting andthermostat devices can be controlled used the microphone 18. In oneembodiment all of the code runs in the cloud and not on a user device.In another embodiment, a user device can be utilized.

In one embodiment microphone 18's natural lifelike voices result fromspeech-unit selection technology. As a non-limiting example high speechaccuracy is achieved through sophisticated natural language processing(NLP) algorithms built into a microphone 18's text-to-speech (TTS)engine.

In one embodiment microphone 18 functionality periodically evolves asnew software releases are produced. As a non-limiting example themicrophone 18 provides dual-band Wi-Fi 802.11a/b/g/n and Bluetooth 4.0.

In one embodiment microphone 18 is voice controlled at the speakerdevice, however, a mic-enabled remote control can be used. An actionbutton at monitoring device 10 can be provided for setup by a user in anew location, and a mute button allows the microphones 18 to be turnedoff. As a non-limiting example microphone 18 devices can have rotationto increase or decrease the speaker volume, be plugged in to operate,and/or use batteries.

In one embodiment microphone 18 provides for private conversations inthe user's home, or other non-verbal indications that can identify whois present in the home and who is not. As a non-limiting example thiscan be based on audible cues such as footstep-cadence orradio/television programming, and the like. As a non-limiting examplemicrophone 18 only streams recordings from the user's home when theactivating word activates the device, though the microphone 18 iscapable of streaming voice recordings at all times, and can always belistening to detect if a user has uttered the word.

In one embodiment microphone 18 uses past voice recordings the user hassent to the cloud to improve response to future questions the user maypose. To address privacy concerns, the user can delete voice recordingsthat are currently associated with the user's account.

In one embodiment voice commands include but are not limited to:setting/editing alarms, dismissing alarms, snoozing alarms, sleepsounds, room conditions and the like.

Non-limiting examples of voice commands can include the following:

“Go to a selected web site.”

“Instruct one or more connected products or services”.

“Search for X”

“Open e-mail”

“Take a picture.”

“Record a video.”

“Remind me to call or contact a person”

“Remind me to buy an item”

“Set an alarm for a selected time”

“Create a calendar event”

“Where's my package?”

“Note to self: remember to buy X”

“What's the tip for X dollars?”

“Text a person:

“Send an email to a person:

“Listen to voicemail.”

“Find a person's number.”

“When is a person's birthday?”

“Post something”

“Listen to X”

“Play: X”

“What's this song?”

“Play some music.”

“Watch a movie”

“What movies are playing tonight?”

“Where is a movie playing?”

“Show me pictures of a location”

“Navigate to a destination”

“Biking directions to a destination”

“Find a selected tourist site”

“Where is a selected tourist site”

“Where's the nearest type of shop, store or restaurant”

“Show me the menu of a restaurant”

“Call a selected restaurant”

“Show me my flights.”

“Where is my hotel?”

“What are some attractions in a selected city”

“What time is it at a selected city or location”

“What's the weather in a selected location on a selected time period”

“Conduct research about anything”

“How do you say selected words in another language”

“What does a selected word or term mean”

“What's a selected company stock price?”

“What is a selected company trading at?”

“What's selected amount of ounces in pounds”

“Perform a mathematical computation”

“When is sunset?”

“Did a sports team win today?”

“How did a sports team do?”

“Wake me up at [alarmTime]”

“Set an [Alarm/Smart Alarm] for [alarmTime] (on) [alarmDate].”

“Set a repeating [Alarm/Smart Alarm] for [alarmTime] (on) [dayOfWeek]s

“Dismiss”, “stop.”, “off.”, “turn off my alarm”

“Snooze”

“Play Sleep Sounds”

“Play [sleepSoundName]”

“Play [sleepSoundName] for [sleepSoundDuration] on sleepSoundVolume]”

“Stop”

“Stop sleep sound”

“What are my bedroom conditions?”

As further non-limiting examples voice interaction can be used forvarious control functions. Non-limiting examples of control functionsare listed above and can also include: voice control over devices, suchas large appliances, (e.g., ovens, refrigerators, dishwashers, washersand dryers), small appliances (e.g., toasters, thermostats, coffeemakers, microwave ovens), media devices (stereos, televisions, digitalvideo recorders, digital video players), as well as doors, lights,curtains, and the like. However, the uses for voice control are many andthese examples are not be considered as limiting.

In one embodiment monitoring system 10 includes an app or mobile device210 has an app that allows users to control and manage their productsfrom anywhere. In one embodiment monitoring device is a mobile device210.

In one embodiment monitoring device 10 integrates with a third partyvoice platform. In one embodiment monitoring device 10 includes personalassistant capability of the monitored person, as well as for a thirdparty in communication with the monitored person.

In one embodiment, illustrated in FIG. 46, illustrates a speechrecognition system 2600 for initiating communication based onidentifying a voice command. In one embodiment the commands are sentfrom monitoring device 10 to server, e.g., the cloud server. In oneembodiment monitoring device 10 is a mobile device 210. In oneembodiment monitoring device 10 and server is in communication with acontact name database 2606 coupled to the cloud based server. In oneembodiment the server is coupled to an automatic speech recognizer (ASR)2610, a parser 2612, a rules database 2614, and a communication engine2616. The server computing system 2604 is in communication withmonitoring device 10 over Network Systems.

In one embodiment monitoring device 10 receives one or more commands bythe user, such as those set forth above.

In one embodiment the monitoring device 10 transmits audio data, e.g.,the waveform data 2620, corresponds to the utterance 118 to the ASR 110.For example, the monitoring device 10 provides audio data correspondingto the utterance 2618 of the information requested by the command to theASR 2610 over Network System.

In some embodiments, the ASR 2610 receives the audio data, e.g., thewaveform data 2620, corresponding to the utterance 2618 from themonitoring device 10. As a non-limiting example, the ASR 2610 receivesthe audio data corresponding to the utterance 2618 of the informationrequested from the command.

In one embodiment, ASR 2610 obtains a transcription of the utterance2618 using a first language model. As a non-limiting example ASR 2610processes the utterance 2618 by applying the utterance 2618 to a firstlanguage model 2624 to generate a transcription 2622 of the utterance2618. In one embodiment the first language model 2624 is a “general” or“generic” language model trained on one or more natural languages, e.g.,the first language model 2624 is not specific to the user 2608, but isutilized by a general population of users accessing the server computingsystem 2604.

In one embodiment the ASR 2610 applies the utterance 2618 of theinformation from the requested command to the first language model 2624to generate the transcription 2622 of the command.

In one embodiment the ASR 2610 provides the transcription 2622 to theparser 2612. In one embodiment the parser 2612 determines that thetranscription 2622 of the utterance 2618 probably includes a voicecommand.

In one embodiment the parser 2612 uses the rules database 2614 indetermining whether the transcription 2622 of the utterance 2618includes a voice command, or is associated with a voice command. In oneembodiment the parser 2612 compares some or all of the transcription2622 of the utterance 2618 to the rules of the rules database 2614. Inresponse to comparing the transcription 2622 of the utterance 118 to therules of the rules database 2614, the parser 2612 determines whether thetranscription 2622 of the utterance 2618 satisfies at least one rule ofthe rules database 2614, or matches a text pattern associated with arule.

In one embodiment, the server computing system 2604 can transmit aportion of the received audio data to monitoring device 10. As anon-limiting example the server computing system 2604 extracts a portionof the received audio data as a waveform 2626.

In one embodiment in response to receiving the indication 2624 from theserver computing system 2604, the monitoring device 10 applies arepresentation of the audio data corresponding to the utterance, e.g.,the waveform 2626, to a different, second language model. In theillustrated example, in response to receiving the indication 2624, themonitoring device 10 applies the waveform 2626 to the different, secondlanguage model to identify data 2628 that references a contact. In oneembodiment monitoring device 10 applies the waveform 2626 to thedifferent, second language model to obtain a transcription of theutterance 2618 that corresponds to the waveform 2626.

By applying the waveform 2626 to a language model, the monitoring device10 identifies data 2628 that references a contact that is associatedwith the user 2608. As a non-limiting example monitoring device 10processes the waveform 2626 according to the second, different languagemodel to identify the data 2628 referencing a contact. As a non-limitingexample the monitoring device 10 is in communication with a contact namedatabase 2606. The monitoring device 10 determines that the waveform2626 “matches,” based on the different, second language model, at leastone of the contact names stored by the contact name database 2606. As anon-limiting example the contact name database 2606 stores mappingsbetween contact names and an output of the language model.

In one embodiment based on the transcription of the informationretrieved from the commend that corresponds to the waveform 2626, themonitoring device 10 identifies a mapping stored by the contact namedatabase 2606 between the transcription of a command and the data 2628.As a non-limiting example in the event of a command to call somebody thedata 2628 of a phone number associated with that person is identified.

In one embodiment monitoring device 10 transmits the data 2628referencing the contact to the server 104, e.g., over Network Systems.

In one embodiment a server computing device 2602, and specifically, theparser 2612, receives the data 2628 referencing the contact. As anon-limiting example the parser 2612 receives the phone number that isassociated with the contact corresponding to user's command.

In one embodiment the parser 2612 causes the voice command to beperformed using the data 2628 referencing the contact. As a non-limitingexample the parser 2612 generates an instruction 2630 that istransmitted to communication engine 2616. The communication engine 2616causes the voice command to be performed. As a non-limiting example thevoice command is performed by monitoring device 10 the server computingsystem 2604, or a combination of both. In one embodiment the instructionis further based on a portion of a transcription 2622 of the utterance2618 and the data 2628 referencing the contact.

Referring now to FIG. 47 a speech recognition system 2710 receivesverbal search terms from a command and uses a language model to accessthe updated entries for the word and recognize the associated text. Inone embodiment a cloud based search server 2708 retrieves the requesteddata relative to the information requested by the user based on thesearch terms that have been translated from verbal search terms to text,collects the search results 2714, and transmits the search results,which as a non-limiting example can be monitoring device 10. In oneembodiment monitoring device can play a voice, which can be synthesized,through an audio speaker that speaks the results to the user.

In one embodiment monitoring device 10, in FIG. 47, can have networkingcapabilities and is shown sending textual search terms (commands) 2716to the search server 2708. The entered textual search terms, which mayinclude one or more portions of sound, can be added to an availabledictionary terms for speech recognition system 2710.

As a non-limiting example a probability value may be assigned to thecomplete terms or the portions of sound based on a chronological receiptof the terms or sounds by the search server 2708 or number of times theterms are received by search server 2708. Popular search terms may beassigned higher probabilities of occurrence and assigned more prominencefor a particular time period. In addition, the search may also returndata to the device to update probabilities for the concurrence of thewords. In particular, other terms associated with a search can havetheir probabilities increased if the terms themselves already exist inthe dictionary. Also, they may be added to the dictionary when theyotherwise would not have been in the dictionary. Additionally, adictionary entry may be changed independently of the others and may haveseparate probabilities associated with the occurrence of each word.

As non-limiting examples speech recognition system 2710 can utilizelanguage models (grammar) and acoustic models. In one embodimentlanguage models may be rule-based, statistical models, or both. As anon-limiting example a rule based language model has a set of explicitrules describing a limited set of word strings that a user is likely tosay in a defined context.

In one embodiment a statistical language model is utilized that is notlimited to a predefined set of word strings, and instead represents whatword strings occur in a more variable language setting. As anon-limiting example a search entry can be variable because any numberof words or phrases may be entered. As a non-limiting example astatistical model uses probabilities associated with the words andphrases to determine which words and phrases are more likely to havebeen spoken. The probabilities may be constructed using a training setof data to generate probabilities for word occurrence. The larger andmore representative the training data set, the more likely it willpredict new data, thereby providing more accurate recognition of verbalinput.

Language models may also assign categories, or meanings, to strings ofwords in order to simplify word recognition tasks. For example, alanguage model may use slot-filling to create a language model thatorganizes words into slots based on categories. The term “slot” refersto the specific category, or meaning, to which a term or phrase belongs.The system has a slot for each meaningful item of information andattempts to “fill” values from an inputted string of words into theslots. For example, in a travel application, slots could consist oforigin, destination, date or time. Incoming information that can beassociated with a particular slot could be put into that slot. Forexample, the slots may indicate that a destination and a date exist.

In one embodiment acoustic models represent the expected soundsassociated with the phonemes and words a recognition system mustidentify. A phoneme is the smallest unit a sound can be broken into,e.g., the sounds “d” and “t” in the words “bid” and “bit.” Acousticmodels can be used to transcribe uncaptioned video or to recognizespoken queries. It may be challenging to transcribe uncaptioned video orspoken queries because of the limitations of current acoustic models.For instance, this may be because new spoken words and phrases are notin the acoustic language model and also because of the challengingnature of broadcast speech (e.g., possible background music or sounds,spontaneous speech on wide-ranging topics).

Referring to FIG. 48 one embodiment of a search server 2801 using aspeech recognition system 2832 is shown to identify, update anddistribute information for a data entry dictionary according to oneimplementation. System 2800 can be one implementation of system 2700shown in FIG. 47. In one embodiment system 2800 is implemented as partof a Network System search provider's general system. The system 2800can be equipped to obtain information about the occurrence andconcurrence of terms from various sources. In one embodiment system 2800also obtains information about the pronunciation of words and phonemes,which include one or more portions of sound, from verbal inputassociated with textual input. Both types of obtained information areused to generate dictionary information. Such sources could include, forexample, audio or transcript data received from a televisiontransmitter, data related to an individual (such as outgoing messagesstored in a Sent Items box), data entered verbally or textually into awireless communication device, or data about search terms enteredrecently by users of an Internet search service.

The system 2800 can include an interface 2802 to allow communications ina variety of ways.

Commands and requests received from monitoring devices 10 may beprovided to request processor 2812, which may interpret a request,associate it with predefined acceptable requests, and pass it on, suchas in the form of a command to another component of search server system2800 to perform a particular action. As a non-limiting example, wherethe request includes a search request, the request processor 2812 maycause a search engine 2814 to generate search results corresponding tothe search request. In one embodiment search engine 2814 can use dataretrieval and search techniques like those used by the Google PageRank™system. The results generated by the search engine client 2814 can beprovided back to the original requester using a response formatter 2816.The response formatter 2816 carries out necessary formatting on theresults.

Search engine 2814 can use a number of other components for itsoperation. As a non-limiting example the search engine 2814 can refer toan index 2818 of web sites instead of searching the web sites themselveseach time a request is made, so as to make the searching much moreefficient. The index 2818 can be populated using information collectedand formatted by a web crawler 2820, which may continuously scanpotential information sources for changing information. Search engine2814 may also use a synchronizer 2821 to ensure received data updatessystem 2800 with the latest language model available.

In addition to search results, system 2800 can use the dictionarygenerator module 2844 to provide users with updated dictionaryinformation, which may include user-specific information. As anon-limiting example updater module 2844 can operate by extractingrelevant concurrence data or information from previous search terms,generating occurrence data for the information, and organizing theinformation in a manner that can be transmitted to a remote device whichcan be monitoring device 10.

In one embodiment dictionary generator 2822 uses the components in FIG.48. As a non-limiting example this can include a training set 2824,weightings 2826, and a test set 2828. In one embodiment the training set2824 is a set of audio recordings and associated transcripts used togenerate pronunciation and sound entries in a pronunciation dictionary2872 and a phoneme dictionary 2870, respectively. Audio recordings canbe associated or synched with the associated transcript text using asynchronizer 2821, and the dictionary generator 2822 can createpreliminary dictionary entries based on the synchronized audiorecordings and transcripts. In one embodiment, the sounds that areextracted from an audio recording correspond to one or more letters fromthe transcript that is associated and synchronized with the audiorecording. The dictionary generator 2822 uses these extracted componentsto generate the dictionary entries.

In one embodiment, the weightings include factors, or coefficients, thatindicate when the voice recognition system 2800 received a wordassociated with the weightings. The factors can cause the voicerecognition system 2800 to favor words that were received more recentlyover words that were received in the past. As a non-limiting example thedictionary generator 2822 can access system storage 2830 as necessary.In one embodiment system storage 2830 can be one or more storagelocations for files needed to operate voice recognition system 2800.

In one embodiment speech recognition system 2800 uses an extractor toanalyze word counts 2842 from the entered search term(s) and an updater2844 with dictionary 2846 and grammar modules 2848 to access the currentspeech recognition model 2849. In one embodiment speech recognitionmodel 2849 can use a recognizer 2850 to interpret verbal search terms.

In one embodiment, the recognizer 2850 determines a context for theverbal search terms

In one embodiment illustrated in FIG. 49 exemplary steps are used foradding data to a speech recognition system. The chart shows anembodiment in which a system updates a statistical speech recognitionmodel based on user entered terms. The user entered terms may beaccepted into the system as they are entered, or the terms may alreadyreside in system storage. At step 2902, search terms may be receivedwirelessly or accessed from system storage. The search terms may betextual input or verbal input. At step 2904, the baseline speechrecognition model is accessed to determine the existence of the searchterms in the current dictionary. In step 2906, the system obtainsinformation from previous search queries in an attempt to find a matchfor the search terms entered. The system may determine to split theterms and continue analysis separately for each entered term or thesystem may determine multiple strings of terms belong together andcontinue to step 2907 with all terms intact.

In step 2907, four optional steps are introduced. Optional step 2908 mayassign a weighting value to the term(s) based on receipt time into thesystem. Optional step 2910 may modify existing dictionary occurrencedata based on the new information entered. Optional step 2912 may assigna sub-grammar to the new information. Optional step 2914 may modifyexisting dictionary concurrence data based on the new informationentered. One, all, or none of steps 2908, 2910, 2912 and 2914 could beexecuted.

Once the search terms have been analyzed for occurrence, existence andweightings, step 2916 verifies no further search terms remain. If moresearch terms exist, the process begins again in step 2902. If a certainnumber of search terms have not been received, the system continues toanalyze the entered search term(s). Alternatively, the system maycontinually update the dictionary entries.

The speech recognition system determines whether or not the data is averbal search term in step 2918 or a verbal system command in step 2920.

In one embodiment monitoring device 10 may receive the terms andtransfer them to a speech recognition system. The speech recognitionsystem may decide this is a system command and associate the verbalcommand with a text command on the monitoring device 10 as shown in step2920. In the example above, the speech recognition system would allow amonitoring device 10 to make the phone call to “Cameron,” where thetranslated verbal search term is associated with a telephone number,thereby executing the call command in step 2922. However, the speechrecognition system may determine the received verbal term is a searchand attempt to associate the verbal search term with a test search termas shown in step 2918. If the entry “call Cameron” is determined not tobe a system command, the speech recognition system attempts to match theterm with using dictionary entries derived from daily news broadcastsand text search terms.

In one embodiment once a textual term is associated with the spokenverbal search, the text term may be transmitted to the search server201. The search server 201 may generate search results using the textsearch term, and, the results are returned to the monitoring device 10in step 2926. The system checks for additional verbal search terms instep 2928. If no further system commands or search terms exist, theprocessing for the entered data ends.

In one embodiment, illustrated in FIG. 50, exemplary steps are utilizedfor adding data to a pronunciation model. The data for updating acousticmodels may include captioned video. The data may be used to updateacoustic models used for spoken search queries since new or currentwords previously not in the acoustic model are often provided from newcaptioned video broadcasts. The flow chart shows an embodiment in whicha system updates a pronunciation model based on received audio ortranscript information.

In step 3002, audio or transcript information is received wirelessly oraccessed from system storage. The information may be textual input,audio input, video input, or any combination thereof. In step 3004,synchronizing the audio and transcript information is performed. Thisensures the audio information “matches” the associated transcript forthe audio. Any piece of audio information or transcript information maybe divided into training and test data for the system. The training datais analyzed to generate probability values for the acoustic model. Asshown in step 3008, this analysis may include extracting letters toassociate pronunciation of words. A weighting system is introduced toappropriately balance the new data with the old data. In step 3010, theassociations between letters and pronunciations are weighted.

In step 3012, verification is performed on the test set to determine ifweightings optimize recognition accuracy on the test set. The system mayassociate several weights with the corresponding preliminary dictionaryentry in an attempt to maximize recognition accuracy when the dictionaryentries are accessed to interpret the test set of audio recordings. Thesystem then selects the weighting that optimizes recognition accuracy onthe test set. If the weightings optimize recognition accuracy on thetest set, a dictionary entry can be generated in step 3014. If theweights cannot optimize recognition, step 3010 is repeated. When adictionary term is generated, monitoring device 10 executes, in step3016, operations to determine if more audio transcripts are available.If more audio or transcripts exist, the process returns to step 3002. Ifno more audio or transcript information is available, the processterminates.

For purposes of the present invention an “activity”, can be a dataconstruct describing a thing to do, which a user can associate with auser's “activity-assistant account.” In an example embodiment, anactivity is defined at least in part by one or more singular, globalactivity parameters. For example, global parameters for a given activitymay include: (a) a title or text description (e.g., “get brunch atBoogaloo's restaurant”), (b) data indicating the location that isassociated with the activity (e.g., the latitude/longitude and/or theaddress of Boogaloo's restaurant), (c) data indicating one or more user“moods” that may be indicative of the activity being more or lesswell-suited for a given user (e.g., “fun”, “social”, “cerebral”,“productive”, “ambitious”, etc.), (d) data indicating time constraintson the activity (e.g., the hours Boogaloo's restaurant is open and/orthe hours during which Boogaloo's restaurant serves brunch), and/or (e)any other data that may be directly or indirectly interpreted to affectthe importance of a given activity to a given user. Further, an activitycan be doable at multiple locations (e.g., “Eat a hamburger” or “Goriver rafting”).

Generally, an activity is a user-defined construct, and thus the globalparameters that define each activity may vary. In particular, a givenactivity may or may not include all of the above-mentioned globalactivity parameters. For example, a user may create an activity that isnot tied to any particular location (e.g., “do homework for mathclass”), and thus choose not to provide a location. Furthermore, asactivities are flexible and dynamic constructs, it should be understoodthat the above-mentioned examples of global parameters are not limiting.It is also possible that an activity may be generated by a computingsystem without any initial user input (or alternatively, generated basedon some user-provided input).

Once an activity is created, however, its global parameters apply to allusers who add the activity. Thus, in effect, there is a single copy ofeach activity and its global parameters that is common all users thathave access to the activity. It should be understood, however, thatglobal parameters can still be flexible and dynamic; changing over timein relation to the activity. For example, a “popularity” parameter maybe defined for an activity that is updated on an ongoing basis toreflect the number of users that have added the activity.

To further allow for customization of activities to a particular user,“user-specific” parameters, which vary between users, may be defined foran activity. Accordingly, while the global parameters of an activity arethe same for all users, each user that adds an activity may customizetheir user-specific parameters for the activity. For instance,user-specific parameters may be used to specify: (a) plans regarding theactivity (e.g., “I want to do it”, “I want to do it again, but not for afew weeks,” “I must do it before Dec. 25,” “I never want to do itagain,” etc.), (b) the user's history regarding that scheme (e.g., Iwent there with Lauren on November 4 and again with Ryan on November28), (c) personal time constraints based on user preferences (e.g.,preference of brunch early on Sunday so she has time to digest beforeher yoga class at noon or preference of brunch around noon because heusually stays out late on the weekends), and/or (d) any other personalpreferences related to, and “overrides” or modifications of, the globalparameters (e.g., “I like to go to Boogaloo's restaurant when I'mdepressed because it cheers me up,” “I like to go to Boogaloo'srestaurant when I have friends in town,” etc.).

In a further aspect, an activity may be designated as a “public” or“private” activity. Depending on how a given activity is defined, thisdesignation may be made by setting a global parameter when the activityis created (and thus apply to all users who add the activity), and/ormay be made via a user-specific parameter that is settable by each userwho adds an activity.

An activity that is designated as “public” via a global parameter may beviewable (and thus addable) to all users, whereas an activity that isdesignated as “private” via a global parameter may only be viewable tothe creator of the activity. In an example embodiment, a globalparameter may be set to designate an activity as a “private shared”activity, in which case the activity may only be viewable by the authorand the users the author specifies. Further, the fact that a givenactivity is designated as “public,” “private,” or “private shared” via aglobal parameter may be interpreted as a signal relevant to theimportance of the activity to a certain user.

When an activity is designated as “private” via a user-specificparameter, other users are generally not notified that the user hasadded the activity. And when an activity is designated as “public” via auser-specific parameter, other users may be notified and/or is able tosee that the user has added the activity. Further, when an activity isdesignated as “public” via a user-specific parameter, the user may beable to define which other users can view and/or which other usersshould be notified that they have added the activity.

In an example embodiment, an “voice activated digital assistant”, and/oractivity module, is provided, which is configured to evaluate therelative importance of activities to a particular user so thatactivities can be presented on the voice activated digital assistantuser interface in a logical manner. In particular, the voice activateddigital assistant may score an activity based not only on thecharacteristics of the activity itself, but also based on data that isindicative of the user's “context” (e.g., the user's, interests,intents, moods, experiences, associations with other users, etc.). Withthe support of the voice activated digital assistant, the voiceactivated digital assistant user interface may therefore provide userswith a dynamic and flexible mechanism for deciding what activities theymight enjoy, and how they would like to spend their time.

In order to quantify the importance of a particular activity for aparticular user, the voice activated digital assistant may identifyand/or determine any number of “signals” that may be directly orindirectly relevant to the importance of an activity to the particularuser. From the perspective of the voice activated digital assistant,signals may take the form of information provided by global parametersand user-specific parameters taken individually or informationdetermined by evaluating interactions between global parameters,user-specific parameters, and/or other data sources. The voice activateddigital assistant may evaluate the signals for a particular user incombination with a particular activity, the voice activated digitalassistant may quantify the importance of the particular activity for theparticular user (e.g., by assigning a “score” to the activity).

To provide some examples of such signals, they may include but are notlimited to: (a) the level of similarity between user's mood and activitymood, (b) the level of similarity between the user's context (asindicated by user-specific signals and/or user-specific parametersindicating, for example, whether the user is on a desktopcomputer/mobile phone, on-line/off-line, talking on the phone, driving,walking, etc.) and corresponding activity context requirements and/orrestrictions (as indicated by global parameters of the activity), (c)distance between user's location and activity location (if available),(d) appropriateness of current weather at user's location and/oractivity's location for the activity (e.g., rainy, sunny, snowy, etc.),(e) user-designated priority for the activity, (f) user-designated duedate (or next due date, if recurring), (f) snooze history or pattern forthe activity, (g) amount of time required for the activity, (h) progressor status of the activity (done, active, in-progress, etc.), (i)ownership of the activity (e.g., whether the owner is the particularuser in question or another user), (j) whether the user received aheads-up, (k) popularity of the activity (e.g., number of comments on anactivity, or the number of people who have commented, copied, liked,shared, done, or followed the activity), (1) similarity between userquery string and activity text (for search/suggest), (m) similaritybetween user query string and names or e-mails of other users in theactivity (for search/suggest), (n) similarity between user query stringand activity comment text (for search/suggest), and (o) whether the userindicated another user with whom to participate in the activity with.

Supported with this intelligence from the voice activated digitalassistant, the voice activated digital assistant user interface maypresent activities that a particular user has associated with theiraccount in a logical order that is based at least in part upon therelative importance of the activities to the user. In particular, thevoice activated digital assistant may evaluate the signals for eachactivity in a user's activity list (e.g., each activity that has beenadded by the user) and assign a score to the activity. The voiceactivated digital assistant can then rank the activities in the user'sactivity list according to their respectively determined score, andrelay this information to the voice activated digital assistant userinterface so that it can adjust the displayed activity list accordingly.

Further, the intelligence of the voice activated digital assistant maybe utilized to provide “suggested” activities that are tailored to theparticular user's preferences, tendencies, location, time table,associated other users, and/or mood at a given point in time. Inparticular, the voice activated digital assistant may initiate anactivity search that takes into account the scores of activities whenranking the search results, and these search results may be presented tothe user via the voice activated digital assistant user interface. In asimilar manner, the voice activated digital assistant may support an“activity search” feature of the voice activated digital assistant userinterface. This feature may allow the user to enter text and initiate anactivity search on the text, the results of which factor in the relativescores of activities as assessed by the voice activated digitalassistant.

In some examples, when a certain available activity exceeds a certainrelevance threshold for a user's current context, the voice activateddigital assistant sends a “push” notification (or “alert”) to a givenuser's computing device (e.g., mobile phone, etc.). By way of example,the user has indicated that the user needs to buy a mother's day presentvia a given activity, the user is passing a location where this activitycan be done, and the current date is the day before mother's day. Thisexample would utilize the scoring function as in the above describedactivity list, but an activity would have to pass a higher threshold inorder to generate a notification.

According to an example embodiment, a user interface is provided thatallows for intuitive user interaction with such activities. This userinterface may be generally referred to herein as an “voice activateddigital assistant user interface.” A user typically accesses the voiceactivated digital assistant user interface by logging in to a user'sactivity-assistant account. According to an example embodiment, thevoice activated digital assistant user interface displays graphicalrepresentations of activities to a user in a logical manner that variesaccording to the interests, intents, associations with other users, andmoods of the user. Via the voice activated digital assistant userinterface, the user may view activities they have added to a personal“activity list,” view suggested activities, create and add newactivities to their activity list, and/or add/delete existing activities(e.g., those created by other users) to/from their activity list, amongother functions.

Turning to the figures, FIG. 51 illustrates one embodiment of an voiceactivated digital assistant network (“network”). In one embodimentnetwork 3100, voice activated digital assistant server 3108 and possiblyactivity content server 3102 are configured to communicate, via anetwork 3106, with client devices 3104 a, 3104 b, and 3104 c. As shownin FIG. 51, client devices can include a personal computer 3104 a, atelephone 3104 b, and a smart-phone 3104 c. More generally, the clientdevices 3104 a, 3104 b, and 3104 c (or any additional client devices)can be any sort of computing device, such as an ordinary laptopcomputer, desktop computer, network terminal, wireless communicationdevice (e.g., a cell phone or smart phone), and so on.

The network 3106 is Network System which can correspond to a local areanetwork, a wide area network, a corporate intranet, the public Internet,combinations thereof, or any other type of network(s) configured toprovide communication between networked computing devices. Activitycontent server 3102 can provide content to client device 3104 a-3104 cand/or voice activated digital assistant server 3108. The content caninclude, but is not limited to, web pages, hypertext, scripts, binarydata such as compiled software, images, audio, and/or video. The contentcan include compressed and/or uncompressed content and/or encryptedand/or unencrypted content. Other types of content are possible as well.

In an alternative arrangement, voice activated digital assistant server3108 and activity content server 3102 can be co-located and/or combinedas a common server. Further, it also possible that voice activateddigital assistant server 3108 and/or activity content server 3102 can beaccessible via a network separate from the network 3106. Yet further,although FIG. 51 only shows three client devices, voice activateddigital assistant server 3108 and/or activity content server 3102 canserve any number of client devices (from a single client device tohundreds, thousands, or even more client devices).

Global activity database 3112 typically includes activity data thatdefines a plurality of activities. In particular, the activity data foreach activity may include one or more global activity parameters thatcollectively define the global context for the activity. Further,user-account database 3110 may include data for users' activityaccounts. This data may include, for a given one of the accounts, dataindicating user-specific parameters and signals. Further, for a givenactivity account, the data may include an indication of whichactivities, if any, are associated with the account (e.g., theactivities that a user has added to their activity list).

According to an example embodiment, voice activated digital assistantserver 3108 embodies the “voice activated digital assistant” and thus isconfigured to provide the activity-assistant functionality describedherein. In particular, voice activated digital assistant server 3108 maybe configured to identify signals relating to the importance of aparticular activity to a particular user (e.g., relating to a givenuser-activity pair), so that activities can be logically displayed to auser, suggested to a user, and/or searched for a user via an voiceactivated digital assistant user interface.

In some embodiments, activity-assistant functionality described hereinmay also be performed by software on the device such as, but not limitedto, devices 3104 a, 3104 b, and 3104 c as shown in FIG. 51. For example,the client software running on the device such as, but not limited to,devices 3104 a, 3104 b, and 3104 c as shown in FIG. 51 may perform allor some portion of the ranking functionality and/or provide moreadvanced assistance, e.g. by providing a latitude/longitude and/or mapfor an address entered by the user via an voice activated digitalassistant user interface and/or by directly communicating with an voiceactivated digital assistant processing system.

The voice activated digital assistant server 3108 may acquire the datafrom which signals are determined, and/or data directly providingsignals, from a number of different data sources. For example, activitycontent server 3102 may provide voice activated digital assistant server3108 with access to global activity database 3112 and user-accountdatabase 3110. Thus, when evaluating the importance of a particularactivity to a particular user, voice activated digital assistant server3108 may retrieve the global parameters of the activity from globalactivity database 3112, as well as user-specific parameters fromuser-account database 110.

FIG. 52(a) is a block diagram of a computing device in accordance withan example embodiment. Computing device 3200 can be configured toperform one or more functions of client devices 3104 a, 3104 b, and 3104c, voice activated digital assistant server 3108, and/or activitycontent server 3102. The computing device 3200 can include a userinterface module 3201, a network-communication interface module 3202,one or more processors 3203, and/or data storage 3204, all of which canbe linked together via a system bus, network, or other connectionmechanism 3205.

The user interface module 3201 can be operable to send data to and/orreceive data from external user input/output devices. For example, theuser interface module 3201 can be configured to send/receive datato/from user input devices such as a keyboard, a keypad, a touch screen,a computer mouse, a track ball, a joystick, a microphone, and/or othersimilar devices, now known or later developed. The user interface module3201 can also be configured to provide output to user display devices,such as one or more cathode ray tubes (CRT), liquid crystal displays(LCD), light emitting diodes (LEDs), displays using digital lightprocessing (DLP) technology, printers, light bulbs, and/or other similardevices, now known or later developed. The user interface module 3201can also be configured to receive audible input(s) via the microphone(or similar audio input device) and/or generate audible output(s), suchas a speaker, speaker jack, audio output port, audio output device,earphones, and/or other similar devices, now known or later developed.

The network-communications interface module 3202 can include one or morewireless interfaces 3207 and/or wireline interfaces 3208 that areconfigurable to communicate via Network System, such as the network 3106shown in FIG. 41. The wireless interfaces 3207 can include one or morewireless transceivers, such as a Bluetooth transceiver, a Wi-Fitransceiver perhaps operating in accordance with an IEEE 802.11 standard(e.g., 802.11a, 802.11b, 802.11g), a WiMAX transceiver perhaps operatingin accordance with an IEEE 802.16 standard, and/or other types ofwireless transceivers configurable to communicate via a wirelessnetwork. The wireline interfaces 3208 can include one or more wirelinetransceivers, such as an Ethernet transceiver, a Universal Serial Bus(USB) transceiver, or similar transceiver configurable to communicatevia a wire, a twisted pair of wires, a coaxial cable, an optical link, afiber-optic link, or other physical connection to a wireline network.

In some embodiments, the network communications interface module 3202can be configured to provide reliable, secured, compressed, and/orauthenticated communications. For each communication described herein,information for ensuring reliable communications (e.g., guaranteedmessage delivery) can be provided, perhaps as part of a message headerand/or footer (e.g., packet/message sequencing information,encapsulation header(s) and/or footer(s), size/time information, andtransmission verification information such as cyclic redundancy check(CRC) and/or parity check values). Communications can be compressed anddecompressed using one or more compression and/or decompressionalgorithms and/or protocols such as, but not limited to, one or morelossless data compression algorithms and/or one or more lossy datacompression algorithms. Communications can be made secure (e.g., beencoded or encrypted) and/or decrypted/decoded using one or morecryptographic protocols and/or algorithms, such as, but not limited to,DES, AES, RSA, Diffie-Hellman, and/or DSA. Other cryptographic protocolsand/or algorithms can be used as well or in addition to those listedherein to secure (and then decrypt/decode) communications.

The one or more processors 3203 can include one or more general purposeprocessors and/or one or more special purpose processors (e.g., digitalsignal processors, application specific integrated circuits, etc.). Theone or more processors 3203 can be configured to executecomputer-readable program instructions 3206 that are contained in thedata storage 3204 and/or other instructions as described herein.

The data storage 3204 can include one or more computer-readable storagemedia that can be read or accessed by at least one of the processors3203. The one or more computer-readable storage media can includevolatile and/or non-volatile storage components, such as optical,magnetic, organic or other memory or disc storage, which can beintegrated in whole or in part with at least one of the one or moreprocessors 3203. In some embodiments, the data storage 3204 can beimplemented using a single physical device (e.g., one optical, magnetic,organic or other memory or disc storage unit), while in otherembodiments, the data storage 3204 can be implemented using two or morephysical devices.

Computer-readable storage media associated with data storage 3204 and/orother computer-readable media described herein can also includenon-transitory computer-readable media such as computer-readable mediathat stores data for short periods of time like register memory,processor cache, and random access memory (RAM). Computer-readablestorage media associated with data storage 3204 and/or othercomputer-readable media described herein can also include non-transitorycomputer readable media that stores program code and/or data for longerperiods of time, such as secondary or persistent long term storage, likeread only memory (ROM), optical or magnetic disks, compact-disc readonly memory (CD-ROM), for example. Computer-readable storage mediaassociated with data storage 3204 and/or other computer-readable mediadescribed herein can also be any other volatile or non-volatile storagesystems. Computer-readable storage media associated with data storage3204 and/or other computer-readable media described herein can beconsidered computer readable storage media for example, or a tangiblestorage device.

The data storage 3204 can include computer-readable program instructions3206 and perhaps additional data. In some embodiments, the data storage3204 can additionally include storage required to perform at least partof the herein-described techniques, methods (e.g., methods 700 and 800),and/or at least part of the functionality of the herein-describeddevices and networks.

FIG. 52(b) depicts a network with computing clusters in accordance withan example embodiment. In FIG. 52(b), functions of voice activateddigital assistant server 108 and/or activity content server 3110 can bedistributed among three computing clusters 3209 a, 3209 b, and 3208 c.The computing cluster 3209 a can include one or more computing devices3200 a, cluster storage arrays 3210 a, and cluster routers 3211 aconnected by local cluster network 3212 a. Similarly, computing cluster3209 b can include one or more computing devices 3200 b, cluster storagearrays 3210 b, and cluster routers 3211 b connected by local clusternetwork 3212 b. Likewise, computing cluster 3209 c can include one ormore computing devices 3200 c, cluster storage arrays 3210 c, andcluster routers 3211 c connected by a local cluster network 3212 c.

In some embodiments, each of computing clusters 3209 a, 3209 b, and 3209c can have an equal number of computing devices, an equal number ofcluster storage arrays, and an equal number of cluster routers. In otherembodiments, however, some or all of computing clusters 3209 a, 3209 b,and 3209 c can have different numbers of computing devices, differentnumbers of cluster storage arrays, and/or different numbers of clusterrouters. The number of computing devices, cluster storage arrays, andcluster routers in each computing cluster can depend on the computingtask or tasks assigned to each computing cluster.

In computing cluster 3209 a, for example, computing devices 3200 a canbe configured to perform various computing tasks of activity contentserver 3102. In one embodiment, the various functionalities of activitycontent server 3102 can be distributed among one or more of thecomputing devices 3200 a. For example, some of these computing devicescan be configured to provide part or all of a first set of content whilethe remaining computing devices can provide part or all of a second setof content. Still other computing devices of the computing cluster 3209a can be configured to communicate with voice activated digitalassistant server 108. Computing devices 3200 b and 3200 c in computingclusters 3209 b and 3209 c can be configured the same or similarly tothe computing devices 3200 a in computing cluster 3209 a.

On the other hand, in some embodiments, computing devices 3200 a, 3200b, and 3200 c each can be configured to perform different functions. Forexample, computing devices 3200 a and 3200 b can be configured toperform one or more functions of activity content server 3102, and thecomputing devices 3200 c can be configured to perform one or morefunctions of voice activated digital assistant server 3108.

Cluster storage arrays 3210 a, 3210 b, and 3210 c of computing clusters3209 a, 3209 b, and 3209 c can be data storage arrays that include diskarray controllers configured to manage read and write access to groupsof hard disk drives. The disk array controllers, alone or in conjunctionwith their respective computing devices, can also be configured tomanage backup or redundant copies of the data stored in the clusterstorage arrays to protect against disk drive or other cluster storagearray failures and/or network failures that prevent one or morecomputing devices from accessing one or more cluster storage arrays.

Similar to the manner in which the functions of voice activated digitalassistant server 108 and/or activity content server 3102 can bedistributed across computing devices 3200 a, 3200 b, and 3200 c ofrespective computing clusters 3209 a, 3209 b, and 3209 c, various activeportions and/or backup/redundant portions of these components can bedistributed across cluster storage arrays 3210 a, 3210 b, and 3210 c.For example, some cluster storage arrays can be configured to store datafor voice activated digital assistant server 3108, while other clusterstorage arrays can store data for activity content server 3102.Additionally, some cluster storage arrays can be configured to storebackup versions of data stored in other cluster storage arrays.

The cluster routers 3211 a, 3211 b, and 3211 c in the computing clusters3209 a, 3209 b, and 3209 c can include networking equipment configuredto provide internal and external communications for the computingclusters. For example, the cluster routers 3211 a in the computingcluster 3209 a can include one or more internet switching and/or routingdevices configured to provide (i) local area network communicationsbetween the computing devices 200 a and the cluster storage arrays 3201a via the local cluster network 3212 a, and/or (ii) wide area networkcommunications between the computing cluster 3209 a and the computingclusters 3209 b and 3209 c via the wide area network connection 3213 ato the network 3106. The cluster routers 3211 b and 3211 c can includenetwork equipment similar to the cluster routers 3211 a, and the clusterrouters 3211 b and 3211 c can perform similar networking functions forthe computing clusters 3209 b and 3209 b that the cluster routers 3211 aperform for the computing cluster 3209 a.

In some embodiments, computing tasks and stored data associated withvoice activated digital assistant server 108 and/or activity contentserver 3102 can be distributed across the computing devices 3200 a, 3200b, and 3200 c based at least in part on the processing requirements forfunctions of voice activated digital assistant server 3108 and/or useraccount server 3102, the processing capabilities of the computingdevices 3200 a, 3200 b, and 3200 c, the latency of the local clusternetworks 3212 a, 3212 b, and 3212 c and/or of the wide area networkconnections 3213 a, 3213 b, and 3213 c, and/or other factors that cancontribute to the cost, speed, fault-tolerance, resiliency, efficiency,and/or other design goals of the overall system architecture.

Additionally, the configuration of the cluster routers 3211 a, 3211 b,and 3211 c can be based at least in part on the data communicationrequirements of the computing devices and cluster storage arrays, thedata communications capabilities of the network equipment in the clusterrouters 3211 a, 3211 b, and 3211 c, the latency and throughput of thelocal cluster networks 3212 a, 3212 b, 3212 c, the latency, throughput,and cost of the wide area network connections 3213 a, 3213 b, and 3213c, and/or other factors that can contribute to the cost, speed,fault-tolerance, resiliency, efficiency and/or other design goals of thesystem architecture.

FIG. 54 is a block diagram illustrating features of a user interface,according to an example embodiment that is with monitoring device 10. Inparticular, activity-assistant user interface 3300 may be displayed viamonitoring device 10, and may allow a user to interact with an voiceactivated digital assistant. While only one screen of theactivity-assistant user interface 3300 is shown, it should be understoodthat the activity-assistant user interface may include other screens,which provide additional functionality, without departing from the scopeof the invention. As shown, activity-assistant user interface 3300includes a personalized activity panel 3302, an activity feed 3304 thatdisplays activities that have been added, done, and/or recently updatedby friends of the user (or members of the user's social graph and/orsocial network), a search/add bar 3306, and a context panel 3308.Further, context panel 3308 includes a number of input mechanisms 3310A-C via which a user can input context signals.

The context panel 3308 provides an interactive mechanism for users toprovide context signal data that describes a “user context” (e.g. toprovide signals indicative of the user's intent, interest, mood,state-of-mind, experience, perception, associations with other users,etc.). In the illustrated example, input mechanism 3310A on the left ofcontext panel 3308 allows a user to signal their mood (e.g., “up foranything”, “lazy”, “productive”, “social”, etc.). The input mechanism3310B in the center of context panel 3308 allows a user to signal alocation (e.g., “current location”, “home”, “work”, “stadium”, etc.).Further, input mechanism 3310C on the right of context panel 3308 allowsa user to signal a time or timeframe (e.g., “now”, “tomorrow”,“tonight”, “next Wednesday morning”, “2:00 AM CST”, “9:00 PM EST onSaturday”, etc.). Other input mechanisms are possible as well.

While the context information provided via the input mechanisms of thecontext panel 3308 may be referred to as “signals” from the user, itshould be understood that, programmatically, this information may takethe form of user-specific parameters that are associated with the user'sactivity account. As such, the data provided via input mechanisms 3310A-C may be stored in a user-account database. For example, referringback to FIG. 1, data from input mechanisms 3310 A-C may be stored asuser-specific parameters in user-account database 110. It is alsopossible that voice activated digital assistant server 108 may be feddata or may pull data directly from input mechanisms 3310 in real-time.

The context signal data acquired from the context panel 3308 (e.g.,user-specific parameters related to “user context”) may be combined bythe voice activated digital assistant (e.g., activity-assistant server108 and/or activity content server 102) with global parameters of agiven activity, other user-specific parameters, and/or data from othersources, in order to derive signals indicative of activity-importance ofthe given activity to the user. In this context, the “signals” are theinformation relative to the importance of the activity that is derivedfrom the data (e.g., the user-specific parameters, global parameters,etc.). As such, the voice activated digital assistant may interpret auser-parameter as a signal in and of itself.

For instance, the user's mood (provided via input mechanism 3310A) maybe interpreted as a signal that makes any number of activities more orless important for the user. As a specific example, if the user's moodis “lazy”, the activity “watching a movie” may become more importantthan it otherwise would be (as global parameters may indicate that“lazy” is a mood associated with the “watching a movie” activity). Onthe other hand, the activity “go to the gym” may become less importantthan it otherwise would be (as global parameters of “watching a movie”do not typically include “lazy” as an associated mood, or may in factindicate that “lazy” is a mood that is likely incompatible with thisactivity).

The voice activated digital assistant may also derive more complexsignals by evaluating the relationships and/or interactions betweenuser-specific parameters, global parameters, and/or other data items. Toprovide an example, a user may have provided a “love being outdoors”signal, which may be stored in the user's account as a user-specificparameter (note that a user interface input mechanism not shown on thescreen 3300, but is contemplated as being available). At a given pointin time, the user also may have set their mood to “active” via inputmechanism 3310A, set their location to “current location” via inputmechanism 3310B, and set their time to “tomorrow afternoon”. The voiceactivated digital assistant may interpret this data as including asignal that the user would like to do something active tomorrowafternoon at the same place they are currently located.

Further, the voice activated digital assistant may use other datasources to determine other relevant signals, such as the weatherforecast for the next day at the user's current location or the locationthat the user will likely be at the next day. Tomorrow afternoon'sweather forecast may thus be a signal, which can be combined with thesignal derived from the user-specific parameters to provide amore-refined signal that, for example, outdoor fitness or sportingactivities near the user's location should always be favored over indoorfitness or sporting activities near the user's location, unless thetomorrow afternoon's forecast is for rain, in which case the amount bywhich outdoor activities are favored over indoor activities may bereduced (or indoor activities may actually be favored). For instance,combining all of this information, the voice activated digital assistantmay increase the importance of active outdoor activities (e.g., “go fora run”, “play flag football”, etc.) to a greater extent when theforecast is for sunny weather, than when the forecast is for rain orsnow.

The voice activated digital assistant may apply signal-based techniques,such as those described herein, to assess activity-importance for anumber of activities and the importance of these activities relative toone another. This technique may be employed to provide the user withvarious functions that are tailored to the user's context.

For example, personalized activity panel 3302 may display intelligentlyselected and ordered activities from a pool of activities including theactivities a user has added to their account and suggested activitiesthat have been selected for a user. For example, a number of suggestedactivities may be determined based on factors such as user preferences,signals from the context panel, and global parameters of potentialactivities, activities that have been added and/or done by friends ofthe user, and/or activities that have been added and/or done by the userin the past, among others. These suggested activities may then becombined with the activities a user has already added to create a poolof potential activities for the personalized activity panel 3302. Then,to determine which specific activities to display in personalizedactivity panel 3302, the voice activated digital assistant may quantifythe importance of each activity (e.g., by evaluating signals for eachactivity), so that the activities that are most important to the userare displayed.

Note that personalized activity panel 3302 may visually differentiatebetween activities that a user has already added to their account, andsuggested activities. For example, the “Watch Movie” activity isdisplayed with a dark background and white text to indicate that it is asuggested activity (and that the user may thus wish to add it), whereasthe other activities listed in personalized activity panel 3302 all havea white background with black text, thus indicating that the user hasalready added these activities.

Further, the evaluation of importance may also be applied in the processof determining which activities should be displayed in the activity feed3304 (and possibly the order in which those activities are displayed).In particular, a certain number of the most recently-added and updatedactivities may be evaluated based on signals such as those describedabove, and the most important of the recent activities may be displayed(possibly in the order of importance. Alternatively, it should beunderstood that activity feed 3304 may simply display activities in atime-wise manner as they are added/updated/completed, without adjustingbased on the user's context. In a similar manner, search results (notshown) for an activity search via search/add bar 3306 may be displayedbased at least in part on importance of the activities located in thesearch, or may simply be displayed in an order according to one of themany well-known search techniques.

FIG. 53(b) is another block diagram illustrating features of a userinterface, according to an example embodiment. As a non-limiting exampleFIG. 53(b) illustrates an alternative activity-assistant user interface3350, which may be displayed via a client device once a user has loggedin to their activity-assistant account. Activity-assistant userinterface 3350 includes some of the same UI elements asactivity-assistant user interface 3300 of FIG. 53(a) (e.g., search/addbar 3306 and context panel 3308 including a number of input mechanisms3310 A-C). However, activity-assistant user interface 3350 includes anactivity list 3352 and a suggested activity list 3354.

In this embodiment, activity list 3352 may include only activities thata user has added to their account. Thus, by evaluating signals for eachactivity a user has added to their account, the voice activated digitalassistant can determine which activities should be displayed in activitylist 3352 (and the order in which those activities should be displayed).

Furthermore, suggested activity list 3354 may display only suggestedactivities (which have not yet been added by the user.) Accordingly, theimportance of specific activities may also be a factor in the process ofdetermining which activities should be displayed in the suggestedactivity list 3354 (and the order of those activities).

FIG. 54 is flow chart illustrating a method according to an exampleembodiment. In particular, method 3400 may be carried out by an voiceactivated digital assistant in order to facilitate dynamic and flexibleand activities. For example, voice activated digital assistant server108 and/or user account server 3102 of FIG. 51 carries out a method suchas method 3400 to facilitate dynamic user interaction with activitiesvia an interface such as the activity-assistant user interfaces of FIGS.53(a) and 53(b) in some embodiments.

More specifically, method 3400 involves the voice activated digitalassistant accessing a user-account database and retrieving the one ormore account-specific parameters of a selected user account, as shown byblock 3402. The voice activated digital assistant then selects a nextactivity, as shown by block 3404, and accesses a global activitydatabase to retrieve the global parameters of a selected activity, asshown by block 3406. Then, for the combination of the selected useraccount and the selected activity, the voice activated digital assistantdetermines one or more signals based at least in part on the globalparameters of the selected activity and the account-specific parametersof the selected user account, as shown by block 3408. Also as shown byblock 3408, each signal provides an indication as to the importance ofthe selected activity to the selected user account. Accordingly, thevoice activated digital assistant can then use the determined signals asa basis for determining the importance of the selected activity for theselected user, as shown by block 3410. The voice activated digitalassistant then causes a graphical display to display one or more of theselected activities in an arrangement that is based at least in part onto the importance of the selected activities relevant to one another insome configurations.

With respect to any or all of the block diagrams and flow charts in thefigures as discussed herein, each block and/or communication mayrepresent a processing of information and/or a transmission ofinformation in accordance with example embodiments. Alternativeembodiments are included within the scope of these example embodiments.In these alternative embodiments, for example, functions described asblocks, transmissions, communications, requests, responses, and/ormessage may be executed out of order from that shown or discussed,including substantially concurrent or in reverse order, depending on thefunctionality involved. Further, more or fewer blocks and/or functionsmay be used with any of the ladder diagrams, scenarios, and flow chartsdiscussed herein, and these ladder diagrams, scenarios, and flow chartsmay be combined with one another, in part or in whole.

A block that represents a processing of information may correspond tocircuitry that can be configured to perform the specific logicalfunctions of a herein-described method or technique. Alternatively oradditionally, a block that represents a processing of information maycorrespond to a module, a segment, or a portion of program code(including related data). The program code may include one or moreinstructions executable by a processor for implementing specific logicalfunctions or actions in the method or technique. The program code and/orrelated data may be stored on any type of computer readable medium suchas a storage device including a disk or hard drive or other storagemedium.

The computer readable medium may also include non-transitory computerreadable media such as computer-readable media that stores data forshort periods of time like register memory, processor cache, and randomaccess memory (RAM). The computer readable media may also includenon-transitory computer readable media that stores program code and/ordata for longer periods of time, such as secondary or persistent longterm storage, like read only memory (ROM), optical or magnetic disks,compact-disc read only memory (CD-ROM), for example. The computerreadable media may also be any other volatile or non-volatile storagesystems. A computer readable medium may be considered a computerreadable storage medium, for example, or a tangible storage device.

It should be understood that for situations in which the systems andmethods discussed herein collect personal information about users, theusers may be provided with an opportunity to opt in/out of programs orfeatures that may collect personal information (e.g., information abouta user's preferences or a user's contributions to social contentproviders). In addition, certain data may be anonymized in one or moreways before it is stored or used, so that personally identifiableinformation is removed. For example, a user's identity may be anonymizedso that the no personally identifiable information can be determined forthe user and so that any identified user preferences or userinteractions are generalized (for example, generalized based on userdemographics) rather than associated with a particular user.

Moreover, a block that represents one or more information transmissionsmay correspond to information transmissions between software and/orhardware modules in the same physical device. However, other informationtransmissions may be between software modules and/or hardware modules indifferent physical devices.

The foregoing description of various embodiments of the claimed usermatter has been provided for the purposes of illustration anddescription. It is not intended to be exhaustive or to limit the claimeduser matter to the precise forms disclosed. Many modifications andvariations will be apparent to the practitioner skilled in the art.Particularly, while the concept “component” is used in the embodimentsof the systems and methods described above, it will be evident that suchconcept can be interchangeably used with equivalent concepts such as,class, method, type, interface, module, object model, and other suitableconcepts. Embodiments were chosen and described in order to bestdescribe the principles of the invention and its practical application,thereby enabling others skilled in the relevant art to understand theclaimed user matter, the various embodiments and with variousmodifications that are suited to the particular use contemplated.

What is claimed is:
 1. A system, comprising: a user monitoring deviceincluding a transmitter and one or more sensors, the one or more sensorsconfigured to provide environmental data in response to detecting atleast one of a light quality, a sound quality, a temperature quality, ora humidity proximate the user monitoring device, a motion detectionsensor configured to detect movement information associated with a userof the motion detection sensor; and a monitoring system in communicationwith the user monitoring device and the motion detection sensor, themonitoring system including a user database and at least one processorenabled to analyze the movement information in light of theenvironmental data received from the user monitoring device to determinestate information for the user, the state information relating to atleast one of user sleep state, user sleep behavior, or user respirationinformation.
 2. The system of claim 1, wherein the one or more sensorscomprises a proximity sensor at the user monitoring device.
 3. Thesystem of claim 1, wherein the one or more sensors comprises abarometric pressure sensor at the user monitoring device.
 4. The systemof claim 3, wherein the barometric pressure sensor is configured todetect changes in pressure within a receiving vicinity of the usermonitoring device.
 5. The system of claim 1, wherein the one or moresensors comprises a motion detection apparatus at the user monitoringdevice.
 6. The system of claim 5, wherein the motion detection apparatusat the user monitoring device provides additional motion informationabout motion activity within a receiving vicinity of the user monitoringdevice.
 7. The system of claim 1, wherein the one or more sensorscomprises a gas sensor at the user monitoring device.
 8. The system ofclaim 7, wherein the gas sensor is configured to measure one or more of:a VOC and CO2 within a receiving vicinity of the user monitoring device.9. The system of claim 1, wherein the one or more sensors comprises acolor meter or sensor at the user monitoring device.
 10. The system ofclaim 9, wherein the color meter or sensor is configured to determine atype of light within a receiving vicinity of the user monitoring device.11. The system of claim 10, wherein the type of light includesfluorescent and incandescent.
 12. The system of claim 9, wherein thecolor meter or sensor is configured to provide information about a colorof light within a receiving vicinity of the user monitoring device. 13.The system of claim 1, wherein the one or more sensors comprises a UVsensor at the user monitoring device.
 14. The system of claim 13,wherein the UV sensor is configured to provide information relative to aquality of light within a receiving vicinity of the user monitoringdevice.
 15. The system of claim 13, wherein the UV sensor is configuredto determine light within a receiving vicinity of the user monitoringdevice being monitored is natural or artificial.
 16. The system of claim13, wherein the UV sensor is configured to a UV spectrum.
 17. The systemof claim 1, wherein the system includes a plurality of microphones. 18.The system of claim 17, wherein the plurality of microphones providesfor at least partial noise cancellation.
 19. The system of claim 17,wherein the plurality of microphones is provides for at least partialecho cancellation.
 20. The system of claim 17, wherein the plurality ofmicrophones is configured to determine a direction for which a soundcomes from.
 21. A system, comprising: a user monitoring device includinga transmitter and one or more sensors, the one or more sensorsconfigured to provide environmental data in response to detecting atleast one of a light quality, a sound quality, a temperature quality, ora humidity proximate the user monitoring device, a motion detectionsensor configured to detect movement information associated with a userof the motion detection sensor; and a monitoring system in communicationwith the user monitoring device and the motion detection sensor, themonitoring system including a user database and at least one processorenabled to analyze the movement information in light of theenvironmental data received from the user monitoring device to determinestate information for the user, the state information relating to atleast one of user sleep state, user sleep behavior, or user respirationinformation; and a voice recognition system at the monitoring system orat the user monitoring device configured to analyze audio data capturedusing one or more microphones of the user monitoring device.
 22. Thesystem of claim 21, further comprising: an voice activated digitalassistant at the monitoring system or included with the user monitoringdevice.
 23. A user monitoring system, comprising: at least oneprocessor; and memory storing instructions that, when executed by the atleast one processor, cause the user monitoring system to: receiveenvironmental data from an environmental monitoring device, theenvironmental data relating to at least one or a light quality, a soundquality, a temperature quality, or a humidity proximate theenvironmental monitoring device; receive movement data captured by adetection sensor, the movement data corresponding to an identified userproximate the detection sensor; and analyze the movement data in lightof the environmental data received from the environmental monitoringdevice to determine state information for the identified user, the stateinformation relating to at least one of user sleep state, user sleepbehavior, or user respiration information for the identified user.